Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Simplify deprecations (#17505)
Patryk Zawadzki038034fe16bc
diff --git a/saleor/graphql/account/types.py b/saleor/graphql/account/types.pyindex c284fd3715..7bdcf9d4be 100644--- a/saleor/graphql/account/types.py+++ b/saleor/graphql/account/types.py@@ -35,7 +35,7 @@ from ..core.connection import (create_connection_slice_for_sync_webhook_control_context,)from ..core.context import SyncWebhookControlContext, get_database_connection_name-from ..core.descriptions import ADDED_IN_319, DEPRECATED_IN_3X_FIELD, PREVIEW_FEATURE+from ..core.descriptions import ADDED_IN_319, PREVIEW_FEATUREfrom ..core.doc_category import DOC_CATEGORY_USERSfrom ..core.enums import LanguageCodeEnumfrom ..core.federation import federated_entity, resolve_federation_references@@ -354,10 +354,7 @@ class User(ModelObjectType[models.User]):checkout = graphene.Field(Checkout,description="Returns the last open checkout of this user.",- deprecation_reason=(- f"{DEPRECATED_IN_3X_FIELD} "- "Use the `checkoutTokens` field to fetch the user checkouts."- ),+ deprecation_reason="Use the `checkoutTokens` field to fetch the user checkouts.",)checkout_tokens = NonNullList(UUID,@@ -365,7 +362,7 @@ class User(ModelObjectType[models.User]):channel=graphene.String(description="Slug of a channel for which the data should be returned."),- deprecation_reason=(f"{DEPRECATED_IN_3X_FIELD} Use `checkoutIds` instead."),+ deprecation_reason="Use `checkoutIds` instead.",)checkout_ids = NonNullList(graphene.ID,diff --git a/saleor/graphql/app/types.py b/saleor/graphql/app/types.pyindex 6dfdc4a04a..eb6bbc0351 100644--- a/saleor/graphql/app/types.py+++ b/saleor/graphql/app/types.py@@ -27,11 +27,7 @@ from ..core import ResolveInfo, SaleorContextfrom ..core.connection import CountableConnectionfrom ..core.context import get_database_connection_namefrom ..core.dataloaders import DataLoader-from ..core.descriptions import (- ADDED_IN_319,- ADDED_IN_321,- DEPRECATED_IN_3X_FIELD,-)+from ..core.descriptions import ADDED_IN_319, ADDED_IN_321from ..core.doc_category import DOC_CATEGORY_APPSfrom ..core.federation import federated_entity, resolve_federation_referencesfrom ..core.scalars import DateTime@@ -391,7 +387,7 @@ class Manifest(BaseObjectType):app_url = graphene.String(description="App website rendered in the dashboard.")configuration_url = graphene.String(description="URL to iframe with the configuration for the app.",- deprecation_reason=f"{DEPRECATED_IN_3X_FIELD} Use `appUrl` instead.",+ deprecation_reason="Use `appUrl` instead.",)token_target_url = graphene.String(description=(@@ -401,7 +397,7 @@ class Manifest(BaseObjectType):)data_privacy = graphene.String(description="Description of the data privacy defined for this app.",- deprecation_reason=f"{DEPRECATED_IN_3X_FIELD} Use `dataPrivacyUrl` instead.",+ deprecation_reason="Use `dataPrivacyUrl` instead.",)data_privacy_url = graphene.String(description="URL to the full privacy policy.")homepage_url = graphene.String(description="External URL to the app homepage.")@@ -509,7 +505,7 @@ class App(ModelObjectType[models.App]):data_privacy = graphene.String(description="Description of the data privacy defined for this app.",- deprecation_reason=f"{DEPRECATED_IN_3X_FIELD} Use `dataPrivacyUrl` instead.",+ deprecation_reason="Use `dataPrivacyUrl` instead.",)data_privacy_url = graphene.String(description="URL to details about the privacy policy on the app owner page."@@ -518,7 +514,7 @@ class App(ModelObjectType[models.App]):support_url = graphene.String(description="Support page for the app.")configuration_url = graphene.String(description="URL to iframe with the configuration for the app.",- deprecation_reason=f"{DEPRECATED_IN_3X_FIELD} Use `appUrl` instead.",+ deprecation_reason="Use `appUrl` instead.",)app_url = graphene.String(description="URL to iframe with the app.")manifest_url = graphene.String(diff --git a/saleor/graphql/attribute/types.py b/saleor/graphql/attribute/types.pyindex 8bfedfc936..a00e285513 100644--- a/saleor/graphql/attribute/types.py+++ b/saleor/graphql/attribute/types.py@@ -18,7 +18,8 @@ from ..core.connection import ()from ..core.context import get_database_connection_namefrom ..core.descriptions import (- DEPRECATED_IN_3X_FIELD,+ DEFAULT_DEPRECATION_REASON,+ DEPRECATED_IN_3X_INPUT,)from ..core.doc_category import DOC_CATEGORY_ATTRIBUTESfrom ..core.enums import MeasurementUnitsEnum@@ -200,7 +201,7 @@ class Attribute(ModelObjectType[models.Attribute]):f"{ProductTypePermissions.MANAGE_PRODUCT_TYPES_AND_ATTRIBUTES.name}."),required=True,- deprecation_reason=DEPRECATED_IN_3X_FIELD,+ deprecation_reason=DEFAULT_DEPRECATION_REASON,)filterable_in_dashboard = graphene.Boolean(description=(@@ -221,7 +222,7 @@ class Attribute(ModelObjectType[models.Attribute]):f"{ProductTypePermissions.MANAGE_PRODUCT_TYPES_AND_ATTRIBUTES.name}."),required=True,- deprecation_reason=DEPRECATED_IN_3X_FIELD,+ deprecation_reason=DEFAULT_DEPRECATION_REASON,)storefront_search_position = graphene.Int(description=(@@ -232,7 +233,7 @@ class Attribute(ModelObjectType[models.Attribute]):f"{ProductTypePermissions.MANAGE_PRODUCT_TYPES_AND_ATTRIBUTES.name}."),required=True,- deprecation_reason=DEPRECATED_IN_3X_FIELD,+ deprecation_reason=DEFAULT_DEPRECATION_REASON,)translation = TranslationField(AttributeTranslation, type_name="attribute")with_choices = graphene.Boolean(@@ -447,7 +448,7 @@ class AttributeValueInput(BaseInputObjectType):description=("The value or slug of an attribute to resolve. ""If the passed value is non-existent, it will be created. "- + DEPRECATED_IN_3X_FIELD+ + DEPRECATED_IN_3X_INPUT),)dropdown = AttributeValueSelectableTypeInput(diff --git a/saleor/graphql/channel/types.py b/saleor/graphql/channel/types.pyindex 6e240a9455..824e275dbb 100644--- a/saleor/graphql/channel/types.py+++ b/saleor/graphql/channel/types.py@@ -23,7 +23,7 @@ from ..core.descriptions import (ADDED_IN_318,ADDED_IN_320,ADDED_IN_321,- DEPRECATED_IN_3X_FIELD,+ DEPRECATED_IN_3X_INPUT,PREVIEW_FEATURE,)from ..core.doc_category import (@@ -129,7 +129,7 @@ class CheckoutSettings(ObjectType):"Some of the `problems` can block the finalizing checkout process. ""The legacy flow will be removed in Saleor 4.0. ""The flow with `checkout.problems` will be the default one."- + DEPRECATED_IN_3X_FIELD+ + DEPRECATED_IN_3X_INPUT),)automatically_complete_fully_paid_checkouts = graphene.Boolean(diff --git a/saleor/graphql/checkout/mutations/checkout_create.py b/saleor/graphql/checkout/mutations/checkout_create.pyindex d3c82baa19..1b405cb584 100644--- a/saleor/graphql/checkout/mutations/checkout_create.py+++ b/saleor/graphql/checkout/mutations/checkout_create.py@@ -20,7 +20,7 @@ from ...app.dataloaders import get_app_promisefrom ...channel.utils import clean_channelfrom ...core import ResolveInfofrom ...core.context import SyncWebhookControlContext-from ...core.descriptions import ADDED_IN_321, DEPRECATED_IN_3X_FIELD+from ...core.descriptions import ADDED_IN_321from ...core.doc_category import DOC_CATEGORY_CHECKOUTfrom ...core.enums import LanguageCodeEnumfrom ...core.mutations import DeprecatedModelMutation@@ -191,7 +191,7 @@ class CheckoutCreate(DeprecatedModelMutation, I18nMixin):"Refer to checkoutLinesAdd and checkoutLinesUpdate to merge a cart ""with an active checkout."),- deprecation_reason=f"{DEPRECATED_IN_3X_FIELD} Always returns `true`.",+ deprecation_reason="Always returns `true`.",)class Arguments:diff --git a/saleor/graphql/checkout/schema.py b/saleor/graphql/checkout/schema.pyindex e1a5b89263..66ebb4117c 100644--- a/saleor/graphql/checkout/schema.py+++ b/saleor/graphql/checkout/schema.py@@ -10,7 +10,7 @@ from ..core.connection import (create_connection_slice_for_sync_webhook_control_context,filter_connection_queryset,)-from ..core.descriptions import DEPRECATED_IN_3X_FIELD, DEPRECATED_IN_3X_INPUT+from ..core.descriptions import DEPRECATED_IN_3X_INPUTfrom ..core.doc_category import DOC_CATEGORY_CHECKOUTfrom ..core.fields import BaseField, ConnectionField, FilterConnectionFieldfrom ..core.scalars import UUID@@ -130,9 +130,7 @@ class CheckoutMutations(graphene.ObjectType):checkout_customer_note_update = CheckoutCustomerNoteUpdate.Field()checkout_email_update = CheckoutEmailUpdate.Field()checkout_line_delete = CheckoutLineDelete.Field(- deprecation_reason=(- f"{DEPRECATED_IN_3X_FIELD} Use `checkoutLinesDelete` instead."- )+ deprecation_reason="Use `checkoutLinesDelete` instead.")checkout_lines_delete = CheckoutLinesDelete.Field()checkout_lines_add = CheckoutLinesAdd.Field()@@ -141,9 +139,7 @@ class CheckoutMutations(graphene.ObjectType):checkout_payment_create = CheckoutPaymentCreate.Field()checkout_shipping_address_update = CheckoutShippingAddressUpdate.Field()checkout_shipping_method_update = CheckoutShippingMethodUpdate.Field(- deprecation_reason=(- f"{DEPRECATED_IN_3X_FIELD} Use `checkoutDeliveryMethodUpdate` instead."- )+ deprecation_reason="Use `checkoutDeliveryMethodUpdate` instead.")checkout_delivery_method_update = CheckoutDeliveryMethodUpdate.Field()checkout_language_code_update = CheckoutLanguageCodeUpdate.Field()diff --git a/saleor/graphql/checkout/types.py b/saleor/graphql/checkout/types.pyindex a65ef29b1a..92a6509887 100644--- a/saleor/graphql/checkout/types.py+++ b/saleor/graphql/checkout/types.py@@ -44,7 +44,6 @@ from ..core.descriptions import (ADDED_IN_318,ADDED_IN_319,ADDED_IN_321,- DEPRECATED_IN_3X_FIELD,PREVIEW_FEATURE,)from ..core.doc_category import DOC_CATEGORY_CHECKOUT@@ -616,7 +615,7 @@ class Checkout(SyncWebhookControlContextModelObjectType[models.Checkout]):)last_change = DateTime(required=True,- deprecation_reason=(f"{DEPRECATED_IN_3X_FIELD} Use `updatedAt` instead."),+ deprecation_reason="Use `updatedAt` instead.",)user = graphene.Field("saleor.graphql.account.types.User",@@ -647,7 +646,7 @@ class Checkout(SyncWebhookControlContextModelObjectType[models.Checkout]):note = graphene.String(required=True,description="The note for the checkout.",- deprecation_reason=f"{DEPRECATED_IN_3X_FIELD} Use `customerNote` instead.",+ deprecation_reason="Use `customerNote` instead.",)discount = graphene.Field(Money,@@ -679,7 +678,7 @@ class Checkout(SyncWebhookControlContextModelObjectType[models.Checkout]):NonNullList(ShippingMethod),required=True,description="Shipping methods that can be used with this checkout.",- deprecation_reason=(f"{DEPRECATED_IN_3X_FIELD} Use `shippingMethods` instead."),+ deprecation_reason="Use `shippingMethods` instead.",webhook_events_info=[WebhookEventInfo(type=WebhookEventSyncType.SHIPPING_LIST_METHODS_FOR_CHECKOUT,@@ -775,7 +774,7 @@ class Checkout(SyncWebhookControlContextModelObjectType[models.Checkout]):shipping_method = BaseField(ShippingMethod,description="The shipping method related with checkout.",- deprecation_reason=(f"{DEPRECATED_IN_3X_FIELD} Use `deliveryMethod` instead."),+ deprecation_reason="Use `deliveryMethod` instead.",webhook_events_info=[WebhookEventInfo(type=WebhookEventSyncType.SHIPPING_LIST_METHODS_FOR_CHECKOUT,diff --git a/saleor/graphql/core/descriptions.py b/saleor/graphql/core/descriptions.pyindex 3893371b53..5e6ab64257 100644--- a/saleor/graphql/core/descriptions.py+++ b/saleor/graphql/core/descriptions.py@@ -1,22 +1,12 @@-# Deprecation message for queries, object fields and mutations. Use it, when-# `deprecation_reason` argument is supported.-DEPRECATED_IN_3X_FIELD = "This field will be removed in Saleor 4.0."+from graphql import DEFAULT_DEPRECATION_REASON as DEFAULT_DEPRECATION_REASON# Deprecation message for input fields and query arguments. Use it, when# deprecation message needs to be included in the field description.-DEPRECATED_IN_3X_INPUT = "\n\nDEPRECATED: this field will be removed in Saleor 4.0."+DEPRECATED_IN_3X_INPUT = "\n\nDEPRECATED: this field will be removed."-# Deprecation message for enum values.-DEPRECATED_IN_3X_ENUM_VALUE = (- "\n\nDEPRECATED: this value will be removed in Saleor 4.0."-)--DEPRECATED_IN_3X_MUTATION = (- "\n\nDEPRECATED: this mutation will be removed in Saleor 4.0."-)-DEPRECATED_IN_3X_TYPE = "\n\nDEPRECATED: this type will be removed in Saleor 4.0."+DEPRECATED_IN_3X_TYPE = "\n\nDEPRECATED: this type will be removed."-DEPRECATED_IN_3X_EVENT = "\n\nDEPRECATED: this event will be removed in Saleor 4.0."+DEPRECATED_IN_3X_EVENT = "\n\nDEPRECATED: this event will be removed."ADDED_IN_318 = "\n\nAdded in Saleor 3.18."ADDED_IN_319 = "\n\nAdded in Saleor 3.19."diff --git a/saleor/graphql/core/mutations.py b/saleor/graphql/core/mutations.pyindex e2bc6cdef6..e454506c81 100644--- a/saleor/graphql/core/mutations.py+++ b/saleor/graphql/core/mutations.py@@ -40,7 +40,6 @@ from ..meta.permissions import PRIVATE_META_PERMISSION_MAP, PUBLIC_META_PERMISSIfrom ..utils import get_nodes, resolve_global_ids_to_primary_keysfrom . import ResolveInfofrom .context import disallow_replica_in_context, setup_context_user-from .descriptions import DEPRECATED_IN_3X_FIELDfrom .enums import MetadataErrorCodefrom .types import (TYPES_WITH_DOUBLE_ID_AVAILABLE,@@ -208,7 +207,7 @@ class BaseMutation(graphene.Mutation):)if error_type_field:- deprecated_msg = f"{DEPRECATED_IN_3X_FIELD} Use `errors` field instead."+ deprecated_msg = "Use `errors` field instead."cls._meta.fields.update(get_error_fields(error_type_class,diff --git a/saleor/graphql/core/schema.py b/saleor/graphql/core/schema.pyindex fac28232cb..b0e1fe8f46 100644--- a/saleor/graphql/core/schema.py+++ b/saleor/graphql/core/schema.py@@ -1,6 +1,5 @@import graphene-from ..core.descriptions import DEPRECATED_IN_3X_FIELDfrom ..core.doc_category import DOC_CATEGORY_TAXESfrom ..core.fields import BaseFieldfrom ..plugins.dataloaders import get_plugin_manager_promise@@ -14,7 +13,7 @@ class CoreQueries(graphene.ObjectType):NonNullList(TaxType),description="List of all tax rates available from tax gateway.",doc_category=DOC_CATEGORY_TAXES,- deprecation_reason=f"{DEPRECATED_IN_3X_FIELD} Use `taxClasses` field instead.",+ deprecation_reason="Use `taxClasses` field instead.",)def resolve_tax_types(self, info: ResolveInfo):diff --git a/saleor/graphql/core/types/common.py b/saleor/graphql/core/types/common.pyindex 0720b7e6e3..f82399876f 100644--- a/saleor/graphql/core/types/common.py+++ b/saleor/graphql/core/types/common.py@@ -26,10 +26,7 @@ from ...core.doc_category import (DOC_CATEGORY_WEBHOOKS,)from ...core.scalars import DateTime, Decimal-from ..descriptions import (- ADDED_IN_318,- DEPRECATED_IN_3X_FIELD,-)+from ..descriptions import ADDED_IN_318from ..enums import (AccountErrorCode,AppErrorCode,@@ -136,10 +133,7 @@ class CountryDisplay(graphene.ObjectType):vat = graphene.Field(VAT,description="Country tax.",- deprecation_reason=(- f"{DEPRECATED_IN_3X_FIELD} Always returns `null`. Use `TaxClassCountryRate`"- " type to manage tax rates per country."- ),+ deprecation_reason="Always returns `null`. Use `TaxClassCountryRate` type to manage tax rates per country.",)diff --git a/saleor/graphql/discount/mutations/sale/sale_add_catalogues.py b/saleor/graphql/discount/mutations/sale/sale_add_catalogues.pyindex 7810725d7c..62e741e7b0 100644--- a/saleor/graphql/discount/mutations/sale/sale_add_catalogues.py+++ b/saleor/graphql/discount/mutations/sale/sale_add_catalogues.py@@ -5,7 +5,6 @@ from .....permission.enums import DiscountPermissionsfrom .....webhook.event_types import WebhookEventAsyncTypefrom ....channel import ChannelContextfrom ....core import ResolveInfo-from ....core.descriptions import DEPRECATED_IN_3X_MUTATIONfrom ....core.doc_category import DOC_CATEGORY_DISCOUNTSfrom ....core.types import DiscountErrorfrom ....core.utils import (@@ -24,11 +23,7 @@ from .sale_base_catalogue import SaleBaseCatalogueMutationclass SaleAddCatalogues(SaleBaseCatalogueMutation):class Meta:- description = (- "Adds products, categories, collections to a sale."- + DEPRECATED_IN_3X_MUTATION- + " Use `promotionRuleCreate` mutation instead."- )+ description = "Adds products, categories, collections to a sale."doc_category = DOC_CATEGORY_DISCOUNTSpermissions = (DiscountPermissions.MANAGE_DISCOUNTS,)error_type_class = DiscountErrordiff --git a/saleor/graphql/discount/mutations/sale/sale_channel_listing_update.py b/saleor/graphql/discount/mutations/sale/sale_channel_listing_update.pyindex 8d1456d8c1..5df4999ff0 100644--- a/saleor/graphql/discount/mutations/sale/sale_channel_listing_update.py+++ b/saleor/graphql/discount/mutations/sale/sale_channel_listing_update.py@@ -17,7 +17,6 @@ from .....product.utils.product import mark_products_in_channels_as_dirtyfrom ....channel import ChannelContextfrom ....channel.mutations import BaseChannelListingMutationfrom ....core import ResolveInfo-from ....core.descriptions import DEPRECATED_IN_3X_MUTATIONfrom ....core.doc_category import DOC_CATEGORY_DISCOUNTSfrom ....core.scalars import PositiveDecimalfrom ....core.types import BaseInputObjectType, DiscountError, NonNullList@@ -68,11 +67,7 @@ class SaleChannelListingUpdate(BaseChannelListingMutation):)class Meta:- description = (- "Manage sale's availability in channels."- + DEPRECATED_IN_3X_MUTATION- + " Use `promotionRuleCreate` or `promotionRuleUpdate` mutations instead."- )+ description = "Manage sale's availability in channels."doc_category = DOC_CATEGORY_DISCOUNTSpermissions = (DiscountPermissions.MANAGE_DISCOUNTS,)error_type_class = DiscountErrordiff --git a/saleor/graphql/discount/mutations/sale/sale_create.py b/saleor/graphql/discount/mutations/sale/sale_create.pyindex 330a90008c..f097b43008 100644--- a/saleor/graphql/discount/mutations/sale/sale_create.py+++ b/saleor/graphql/discount/mutations/sale/sale_create.py@@ -12,7 +12,6 @@ from .....permission.enums import DiscountPermissionsfrom .....webhook.event_types import WebhookEventAsyncTypefrom ....channel import ChannelContextfrom ....core import ResolveInfo-from ....core.descriptions import DEPRECATED_IN_3X_MUTATIONfrom ....core.doc_category import DOC_CATEGORY_DISCOUNTSfrom ....core.mutations import DeprecatedModelMutationfrom ....core.scalars import DateTime, PositiveDecimal@@ -64,11 +63,7 @@ class SaleCreate(DeprecatedModelMutation):)class Meta:- description = (- "Creates a new sale."- + DEPRECATED_IN_3X_MUTATION- + " Use `promotionCreate` mutation instead."- )+ description = "Creates a new sale."permissions = (DiscountPermissions.MANAGE_DISCOUNTS,)model = models.Promotionobject_type = Salediff --git a/saleor/graphql/discount/mutations/sale/sale_delete.py b/saleor/graphql/discount/mutations/sale/sale_delete.pyindex 6dc8839fcb..6358fa9d09 100644--- a/saleor/graphql/discount/mutations/sale/sale_delete.py+++ b/saleor/graphql/discount/mutations/sale/sale_delete.py@@ -10,7 +10,6 @@ from .....product.utils.product import mark_products_in_channels_as_dirtyfrom .....webhook.event_types import WebhookEventAsyncTypefrom ....channel import ChannelContextfrom ....core import ResolveInfo-from ....core.descriptions import DEPRECATED_IN_3X_MUTATIONfrom ....core.doc_category import DOC_CATEGORY_DISCOUNTSfrom ....core.types import DiscountErrorfrom ....core.utils import (@@ -31,11 +30,7 @@ class SaleDelete(ModelDeleteMutation):id = graphene.ID(required=True, description="ID of a sale to delete.")class Meta:- description = (- "Deletes a sale."- + DEPRECATED_IN_3X_MUTATION- + " Use `promotionDelete` mutation instead."- )+ description = "Deletes a sale."model = models.Promotionobject_type = Salereturn_field_name = "sale"diff --git a/saleor/graphql/discount/mutations/sale/sale_remove_catalogues.py b/saleor/graphql/discount/mutations/sale/sale_remove_catalogues.pyindex e2101f8338..36c2c23cfb 100644--- a/saleor/graphql/discount/mutations/sale/sale_remove_catalogues.py+++ b/saleor/graphql/discount/mutations/sale/sale_remove_catalogues.py@@ -5,7 +5,6 @@ from .....graphql.channel import ChannelContextfrom .....permission.enums import DiscountPermissionsfrom .....webhook.event_types import WebhookEventAsyncTypefrom ....core import ResolveInfo-from ....core.descriptions import DEPRECATED_IN_3X_MUTATIONfrom ....core.doc_category import DOC_CATEGORY_DISCOUNTSfrom ....core.types import DiscountErrorfrom ....core.utils import (@@ -24,11 +23,7 @@ from .sale_base_catalogue import SaleBaseCatalogueMutationclass SaleRemoveCatalogues(SaleBaseCatalogueMutation):class Meta:- description = (- "Removes products, categories, collections from a sale."- + DEPRECATED_IN_3X_MUTATION- + " Use `promotionRuleUpdate` or `promotionRuleDelete` mutations instead."- )+ description = "Removes products, categories, collections from a sale."doc_category = DOC_CATEGORY_DISCOUNTSpermissions = (DiscountPermissions.MANAGE_DISCOUNTS,)error_type_class = DiscountErrordiff --git a/saleor/graphql/discount/mutations/sale/sale_update.py b/saleor/graphql/discount/mutations/sale/sale_update.pyindex 3904bfa26a..795b4ea67d 100644--- a/saleor/graphql/discount/mutations/sale/sale_update.py+++ b/saleor/graphql/discount/mutations/sale/sale_update.py@@ -14,7 +14,6 @@ from .....product.utils.product import mark_products_in_channels_as_dirtyfrom .....webhook.event_types import WebhookEventAsyncTypefrom ....channel import ChannelContextfrom ....core import ResolveInfo-from ....core.descriptions import DEPRECATED_IN_3X_MUTATIONfrom ....core.doc_category import DOC_CATEGORY_DISCOUNTSfrom ....core.mutations import DeprecatedModelMutationfrom ....core.types import DiscountError@@ -44,11 +43,7 @@ class SaleUpdate(DeprecatedModelMutation):)class Meta:- description = (- "Updates a sale."- + DEPRECATED_IN_3X_MUTATION- + " Use `promotionUpdate` mutation instead."- )+ description = "Updates a sale."model = models.Promotionobject_type = Salereturn_field_name = "sale"diff --git a/saleor/graphql/discount/mutations/voucher/voucher_create.py b/saleor/graphql/discount/mutations/voucher/voucher_create.pyindex cdc079d2f1..fdae350308 100644--- a/saleor/graphql/discount/mutations/voucher/voucher_create.py+++ b/saleor/graphql/discount/mutations/voucher/voucher_create.py@@ -11,7 +11,7 @@ from ....channel import ChannelContextfrom ....core import ResolveInfofrom ....core.descriptions import (ADDED_IN_318,- DEPRECATED_IN_3X_FIELD,+ DEPRECATED_IN_3X_INPUT,PREVIEW_FEATURE,)from ....core.doc_category import DOC_CATEGORY_DISCOUNTS@@ -37,7 +37,7 @@ class VoucherInput(BaseInputObjectType):code = graphene.String(required=False,description="Code to use the voucher. "- + DEPRECATED_IN_3X_FIELD+ + DEPRECATED_IN_3X_INPUT+ " Use `addCodes` instead.",)add_codes = NonNullList(diff --git a/saleor/graphql/discount/schema.py b/saleor/graphql/discount/schema.pyindex 4c12e8f1e6..f0002b3ef4 100644--- a/saleor/graphql/discount/schema.py+++ b/saleor/graphql/discount/schema.py@@ -4,7 +4,6 @@ from ...permission.enums import DiscountPermissionsfrom ..core import ResolveInfofrom ..core.connection import create_connection_slice, filter_connection_querysetfrom ..core.descriptions import (- DEPRECATED_IN_3X_FIELD,DEPRECATED_IN_3X_INPUT,)from ..core.doc_category import DOC_CATEGORY_DISCOUNTS@@ -80,9 +79,7 @@ class DiscountQueries(graphene.ObjectType):description="Slug of a channel for which the data should be returned."),description="Look up a sale by ID.",- deprecation_reason=(- f"{DEPRECATED_IN_3X_FIELD} Use the `promotion` query instead."- ),+ deprecation_reason="Use the `promotion` query instead.",permissions=[DiscountPermissions.MANAGE_DISCOUNTS,],@@ -102,9 +99,7 @@ class DiscountQueries(graphene.ObjectType):description="Slug of a channel for which the data should be returned."),description="List of the shop's sales.",- deprecation_reason=(- f"{DEPRECATED_IN_3X_FIELD} Use the `promotions` query instead."- ),+ deprecation_reason="Use the `promotions` query instead.",permissions=[DiscountPermissions.MANAGE_DISCOUNTS,],@@ -216,14 +211,28 @@ class DiscountMutations(graphene.ObjectType):promotion_rule_translate = PromotionRuleTranslate.Field()promotion_bulk_delete = PromotionBulkDelete.Field()- sale_create = SaleCreate.Field()- sale_delete = SaleDelete.Field()+ sale_create = SaleCreate.Field(+ deprecation_reason="Use `promotionCreate` mutation instead."+ )+ sale_delete = SaleDelete.Field(+ deprecation_reason="Use `promotionDelete` mutation instead."+ )sale_bulk_delete = SaleBulkDelete.Field()- sale_update = SaleUpdate.Field()- sale_catalogues_add = SaleAddCatalogues.Field()- sale_catalogues_remove = SaleRemoveCatalogues.Field()- sale_translate = SaleTranslate.Field()- sale_channel_listing_update = SaleChannelListingUpdate.Field()+ sale_update = SaleUpdate.Field(+ deprecation_reason="Use `promotionUpdate` mutation instead."+ )+ sale_catalogues_add = SaleAddCatalogues.Field(+ deprecation_reason="Use `promotionRuleCreate` and `promotionRuleUpdate` mutations instead."+ )+ sale_catalogues_remove = SaleRemoveCatalogues.Field(+ deprecation_reason="Use `promotionRuleUpdate` and `promotionRuleDelete` mutations instead."+ )+ sale_translate = SaleTranslate.Field(+ deprecation_reason="Use `promotionTranslate` mutation instead."+ )+ sale_channel_listing_update = SaleChannelListingUpdate.Field(+ deprecation_reason="Use `promotionRuleUpdate` mutation instead."+ )voucher_create = VoucherCreate.Field()voucher_delete = VoucherDelete.Field()diff --git a/saleor/graphql/discount/types/vouchers.py b/saleor/graphql/discount/types/vouchers.pyindex e0c1e2cadf..e86dfb55a5 100644--- a/saleor/graphql/discount/types/vouchers.py+++ b/saleor/graphql/discount/types/vouchers.py@@ -9,7 +9,7 @@ from ...channel.types import Channel, ChannelContext, ChannelContextTypefrom ...core import ResolveInfo, typesfrom ...core.connection import CountableConnection, create_connection_slicefrom ...core.context import get_database_connection_name-from ...core.descriptions import ADDED_IN_318, DEPRECATED_IN_3X_FIELD, PREVIEW_FEATURE+from ...core.descriptions import ADDED_IN_318, DEPRECATED_IN_3X_INPUT, PREVIEW_FEATUREfrom ...core.doc_category import DOC_CATEGORY_DISCOUNTSfrom ...core.fields import ConnectionField, PermissionsFieldfrom ...core.scalars import DateTime@@ -85,7 +85,7 @@ class Voucher(ChannelContextType[models.Voucher]):description="List of codes available for this voucher." + ADDED_IN_318,)code = graphene.String(- description="The code of the voucher." + DEPRECATED_IN_3X_FIELD+ description="The code of the voucher." + DEPRECATED_IN_3X_INPUT)usage_limit = graphene.Int(description="The number of times a voucher can be used.")used = graphene.Int(diff --git a/saleor/graphql/giftcard/types.py b/saleor/graphql/giftcard/types.pyindex 9a06604185..6b009bfd4f 100644--- a/saleor/graphql/giftcard/types.py+++ b/saleor/graphql/giftcard/types.py@@ -20,7 +20,7 @@ from ..channel import ChannelContextfrom ..channel.dataloaders import ChannelByIdLoaderfrom ..core.connection import CountableConnectionfrom ..core.context import get_database_connection_name-from ..core.descriptions import DEPRECATED_IN_3X_FIELD+from ..core.descriptions import DEFAULT_DEPRECATION_REASONfrom ..core.doc_category import DOC_CATEGORY_GIFT_CARDSfrom ..core.fields import PermissionsFieldfrom ..core.scalars import Date, DateTime@@ -268,7 +268,7 @@ class GiftCard(ModelObjectType[models.GiftCard]):used_by = graphene.Field("saleor.graphql.account.types.User",description="The customer who used a gift card.",- deprecation_reason=DEPRECATED_IN_3X_FIELD,+ deprecation_reason=DEFAULT_DEPRECATION_REASON,)created_by_email = graphene.String(required=False,@@ -282,7 +282,7 @@ class GiftCard(ModelObjectType[models.GiftCard]):used_by_email = graphene.String(required=False,description="Email address of the customer who used a gift card.",- deprecation_reason=DEPRECATED_IN_3X_FIELD,+ deprecation_reason=DEFAULT_DEPRECATION_REASON,)last_used_on = DateTime(description="Date and time when gift card was last used.")expiry_date = Date(description="Expiry date of the gift card.")@@ -329,15 +329,15 @@ class GiftCard(ModelObjectType[models.GiftCard]):user = graphene.Field("saleor.graphql.account.types.User",description="The customer who bought a gift card.",- deprecation_reason=f"{DEPRECATED_IN_3X_FIELD} Use `createdBy` field instead.",+ deprecation_reason="Use `createdBy` field instead.",)end_date = DateTime(description="End date of gift card.",- deprecation_reason=f"{DEPRECATED_IN_3X_FIELD} Use `expiryDate` field instead.",+ deprecation_reason="Use `expiryDate` field instead.",)start_date = DateTime(description="Start date of gift card.",- deprecation_reason=f"{DEPRECATED_IN_3X_FIELD}",+ deprecation_reason=DEFAULT_DEPRECATION_REASON,)class Meta:diff --git a/saleor/graphql/invoice/types.py b/saleor/graphql/invoice/types.pyindex 4e6b4eeb7d..7f4cda3ed0 100644--- a/saleor/graphql/invoice/types.py+++ b/saleor/graphql/invoice/types.py@@ -2,7 +2,6 @@ import graphenefrom ...invoice import modelsfrom ..core.context import SyncWebhookControlContext-from ..core.descriptions import DEPRECATED_IN_3X_FIELDfrom ..core.scalars import DateTimefrom ..core.types import Job, ModelObjectTypefrom ..meta.types import ObjectWithMetadata@@ -14,10 +13,7 @@ class Invoice(ModelObjectType[models.Invoice]):external_url = graphene.String(description="URL to view an invoice.",required=False,- deprecation_reason=(- f"{DEPRECATED_IN_3X_FIELD} Use `url` field."- "This field will be removed in 4.0"- ),+ deprecation_reason="Use `url` field.",)created_at = DateTime(required=True, description="Date and time at which invoice was created."diff --git a/saleor/graphql/menu/schema.py b/saleor/graphql/menu/schema.pyindex c1a4b39183..d82043758e 100644--- a/saleor/graphql/menu/schema.py+++ b/saleor/graphql/menu/schema.py@@ -4,7 +4,6 @@ from ..channel import ChannelQsContextfrom ..channel.utils import get_default_channel_slug_or_graphql_errorfrom ..core import ResolveInfofrom ..core.connection import create_connection_slice, filter_connection_queryset-from ..core.descriptions import DEPRECATED_IN_3X_FIELDfrom ..core.fields import FilterConnectionFieldfrom ..core.utils import from_global_id_or_errorfrom ..translations.mutations import MenuItemTranslate@@ -48,10 +47,7 @@ class MenuQueries(graphene.ObjectType):),sort_by=MenuSortingInput(description="Sort menus."),filter=MenuFilterInput(- description=(- "Filtering options for menus. "- f"\n\n`slug`: {DEPRECATED_IN_3X_FIELD} Use `slugs` instead."- )+ description=("Filtering options for menus.\n\n`slug`: Use `slugs` instead.")),description="List of the storefront's menus.",)diff --git a/saleor/graphql/notifications/schema.py b/saleor/graphql/notifications/schema.pyindex edaa58c9c7..eec2f7f3ad 100644--- a/saleor/graphql/notifications/schema.py+++ b/saleor/graphql/notifications/schema.py@@ -1,10 +1,10 @@import graphene-from ..core.descriptions import DEPRECATED_IN_3X_MUTATION+from ..core.descriptions import DEFAULT_DEPRECATION_REASONfrom .mutations.external_notification_trigger import ExternalNotificationTriggerclass ExternalNotificationMutations(graphene.ObjectType):external_notification_trigger = ExternalNotificationTrigger.Field(- deprecation_reason=DEPRECATED_IN_3X_MUTATION+ deprecation_reason=DEFAULT_DEPRECATION_REASON)diff --git a/saleor/graphql/order/mutations/draft_order_create.py b/saleor/graphql/order/mutations/draft_order_create.pyindex f7c56332c8..a1ba2e1dbe 100644--- a/saleor/graphql/order/mutations/draft_order_create.py+++ b/saleor/graphql/order/mutations/draft_order_create.py@@ -38,7 +38,6 @@ from ...core.context import SyncWebhookControlContextfrom ...core.descriptions import (ADDED_IN_318,ADDED_IN_321,- DEPRECATED_IN_3X_FIELD,DEPRECATED_IN_3X_INPUT,)from ...core.doc_category import DOC_CATEGORY_ORDERS@@ -135,7 +134,7 @@ class DraftOrderInput(BaseInputObjectType):voucher = graphene.ID(description="ID of the voucher associated with the order.",name="voucher",- deprecation_reason=f"{DEPRECATED_IN_3X_FIELD} Use `voucherCode` instead.",+ deprecation_reason="Use `voucherCode` instead.",)voucher_code = graphene.String(description="A code of the voucher associated with the order." + ADDED_IN_318,diff --git a/saleor/graphql/order/mutations/order_note_add.py b/saleor/graphql/order/mutations/order_note_add.pyindex 719ecc68b4..1654a5569c 100644--- a/saleor/graphql/order/mutations/order_note_add.py+++ b/saleor/graphql/order/mutations/order_note_add.py@@ -6,7 +6,7 @@ from ....permission.enums import OrderPermissionsfrom ...app.dataloaders import get_app_promisefrom ...core import ResolveInfofrom ...core.context import SyncWebhookControlContext-from ...core.descriptions import DEPRECATED_IN_3X_INPUT, DEPRECATED_IN_3X_MUTATION+from ...core.descriptions import DEPRECATED_IN_3X_INPUTfrom ...core.doc_category import DOC_CATEGORY_ORDERSfrom ...core.types import BaseInputObjectType, Error, OrderErrorfrom ...plugins.dataloaders import get_plugin_manager_promise@@ -83,7 +83,7 @@ class OrderAddNote(OrderNoteAdd):)class Meta:- description = "Adds note to the order." + DEPRECATED_IN_3X_MUTATION+ description = "Adds note to the order."doc_category = DOC_CATEGORY_ORDERSpermissions = (OrderPermissions.MANAGE_ORDERS,)error_type_class = OrderErrordiff --git a/saleor/graphql/order/schema.py b/saleor/graphql/order/schema.pyindex c45710d048..17a7aa530d 100644--- a/saleor/graphql/order/schema.py+++ b/saleor/graphql/order/schema.py@@ -12,7 +12,7 @@ from ..core.connection import (filter_connection_queryset,)from ..core.context import get_database_connection_name-from ..core.descriptions import DEPRECATED_IN_3X_FIELD+from ..core.descriptions import DEFAULT_DEPRECATION_REASONfrom ..core.doc_category import DOC_CATEGORY_ORDERSfrom ..core.enums import ReportingPeriodfrom ..core.fields import (@@ -103,7 +103,7 @@ class OrderQueries(graphene.ObjectType):permissions=[OrderPermissions.MANAGE_ORDERS,],- deprecation_reason=DEPRECATED_IN_3X_FIELD,+ deprecation_reason=DEFAULT_DEPRECATION_REASON,)order = BaseField(Order,@@ -161,12 +161,12 @@ class OrderQueries(graphene.ObjectType):OrderPermissions.MANAGE_ORDERS,],doc_category=DOC_CATEGORY_ORDERS,- deprecation_reason=DEPRECATED_IN_3X_FIELD,+ deprecation_reason=DEFAULT_DEPRECATION_REASON,)order_by_token = BaseField(Order,description="Look up an order by token.",- deprecation_reason=DEPRECATED_IN_3X_FIELD,+ deprecation_reason=DEFAULT_DEPRECATION_REASON,token=graphene.Argument(UUID, description="The order's token.", required=True),doc_category=DOC_CATEGORY_ORDERS,)@@ -259,12 +259,12 @@ class OrderMutations(graphene.ObjectType):draft_order_delete = DraftOrderDelete.Field()draft_order_bulk_delete = DraftOrderBulkDelete.Field()draft_order_lines_bulk_delete = DraftOrderLinesBulkDelete.Field(- deprecation_reason=DEPRECATED_IN_3X_FIELD+ deprecation_reason=DEFAULT_DEPRECATION_REASON)draft_order_update = DraftOrderUpdate.Field()order_add_note = OrderAddNote.Field(- deprecation_reason=(f"{DEPRECATED_IN_3X_FIELD} Use `orderNoteAdd` instead.")+ deprecation_reason="Use `orderNoteAdd` instead.")order_cancel = OrderCancel.Field()order_capture = OrderCapture.Field()diff --git a/saleor/graphql/order/types.py b/saleor/graphql/order/types.pyindex 9199306bfe..e661a325cf 100644--- a/saleor/graphql/order/types.py+++ b/saleor/graphql/order/types.py@@ -72,7 +72,7 @@ from ..core.descriptions import (ADDED_IN_318,ADDED_IN_319,ADDED_IN_320,- DEPRECATED_IN_3X_FIELD,+ DEPRECATED_IN_3X_INPUT,PREVIEW_FEATURE,)from ..core.doc_category import DOC_CATEGORY_ORDERS@@ -1444,7 +1444,7 @@ class Order(SyncWebhookControlContextModelObjectType[ModelObjectType[models.Orde)tracking_client_id = graphene.String(required=True,- description="Google Analytics tracking client ID. " + DEPRECATED_IN_3X_FIELD,+ description="Google Analytics tracking client ID. " + DEPRECATED_IN_3X_INPUT,)billing_address = graphene.Field("saleor.graphql.account.types.Address",@@ -1559,7 +1559,7 @@ class Order(SyncWebhookControlContextModelObjectType[ModelObjectType[models.Ordeshipping_method = graphene.Field(ShippingMethod,description="Shipping method for this order.",- deprecation_reason=(f"{DEPRECATED_IN_3X_FIELD} Use `deliveryMethod` instead."),+ deprecation_reason="Use `deliveryMethod` instead.",)undiscounted_shipping_price = graphene.Field(Money,@@ -1605,7 +1605,7 @@ class Order(SyncWebhookControlContextModelObjectType[ModelObjectType[models.Orde)token = graphene.String(required=True,- deprecation_reason=(f"{DEPRECATED_IN_3X_FIELD} Use `id` instead."),+ deprecation_reason="Use `id` instead.",)voucher = graphene.Field(Voucher, description="Voucher linked to the order.")voucher_code = graphene.String(@@ -1644,7 +1644,7 @@ class Order(SyncWebhookControlContextModelObjectType[ModelObjectType[models.Ordetotal_captured = graphene.Field(Money,description="Amount captured for the order. ",- deprecation_reason=f"{DEPRECATED_IN_3X_FIELD} Use `totalCharged` instead.",+ deprecation_reason="Use `totalCharged` instead.",required=True,)total_charged = graphene.Field(@@ -1685,10 +1685,7 @@ class Order(SyncWebhookControlContextModelObjectType[ModelObjectType[models.Ordedescription=("The delivery method selected for this order."),)language_code = graphene.String(- deprecation_reason=(- f"{DEPRECATED_IN_3X_FIELD} "- "Use the `languageCodeEnum` field to fetch the language code. "- ),+ deprecation_reason="Use the `languageCodeEnum` field to fetch the language code.",required=True,)language_code_enum = graphene.Field(@@ -1697,21 +1694,15 @@ class Order(SyncWebhookControlContextModelObjectType[ModelObjectType[models.Ordediscount = graphene.Field(Money,description="Returns applied discount.",- deprecation_reason=(- f"{DEPRECATED_IN_3X_FIELD} Use the `discounts` field instead."- ),+ deprecation_reason="Use the `discounts` field instead.",)discount_name = graphene.String(description="Discount name.",- deprecation_reason=(- f"{DEPRECATED_IN_3X_FIELD} Use the `discounts` field instead."- ),+ deprecation_reason="Use the `discounts` field instead.",)translated_discount_name = graphene.String(description="Translated discount name.",- deprecation_reason=(- f"{DEPRECATED_IN_3X_FIELD} Use the `discounts` field instead. "- ),+ deprecation_reason="Use the `discounts` field instead.",)discounts = NonNullList("saleor.graphql.discount.types.OrderDiscount",diff --git a/saleor/graphql/page/types.py b/saleor/graphql/page/types.pyindex 5d7e4777b3..3f6284b007 100644--- a/saleor/graphql/page/types.py+++ b/saleor/graphql/page/types.py@@ -12,7 +12,7 @@ from ..core.connection import (filter_connection_queryset,)from ..core.context import get_database_connection_name-from ..core.descriptions import DEPRECATED_IN_3X_FIELD, RICH_CONTENT+from ..core.descriptions import RICH_CONTENTfrom ..core.doc_category import DOC_CATEGORY_PAGESfrom ..core.federation import federated_entity, resolve_federation_referencesfrom ..core.fields import FilterConnectionField, JSONString, PermissionsField@@ -125,10 +125,7 @@ class Page(ModelObjectType[models.Page]):title = graphene.String(required=True, description="Title of the page.")content = JSONString(description="Content of the page." + RICH_CONTENT)publication_date = Date(- deprecation_reason=(- f"{DEPRECATED_IN_3X_FIELD} "- "Use the `publishedAt` field to fetch the publication date."- ),+ deprecation_reason="Use the `publishedAt` field to fetch the publication date.")published_at = DateTime(description="The page publication date.")is_published = graphene.Boolean(@@ -143,7 +140,7 @@ class Page(ModelObjectType[models.Page]):)content_json = JSONString(description="Content of the page." + RICH_CONTENT,- deprecation_reason=f"{DEPRECATED_IN_3X_FIELD} Use the `content` field instead.",+ deprecation_reason="Use the `content` field instead.",required=True,)translation = TranslationField(PageTranslation, type_name="page")diff --git a/saleor/graphql/product/bulk_mutations/product_variant_bulk_create.py b/saleor/graphql/product/bulk_mutations/product_variant_bulk_create.pyindex 8aaff6fad2..12c823f292 100644--- a/saleor/graphql/product/bulk_mutations/product_variant_bulk_create.py+++ b/saleor/graphql/product/bulk_mutations/product_variant_bulk_create.py@@ -22,7 +22,7 @@ from ...attribute.types import ()from ...attribute.utils import AttributeAssignmentMixinfrom ...channel import ChannelContext-from ...core.descriptions import DEPRECATED_IN_3X_FIELD+from ...core.descriptions import DEPRECATED_IN_3X_INPUTfrom ...core.doc_category import DOC_CATEGORY_PRODUCTSfrom ...core.enums import ErrorPolicyEnumfrom ...core.fields import JSONString@@ -129,7 +129,7 @@ class BulkAttributeValueInput(BaseInputObjectType):description=("The value or slug of an attribute to resolve. ""If the passed value is non-existent, it will be created."- + DEPRECATED_IN_3X_FIELD+ + DEPRECATED_IN_3X_INPUT),)dropdown = AttributeValueSelectableTypeInput(@@ -218,7 +218,7 @@ class ProductVariantBulkCreate(BaseMutation):ProductVariant,required=True,default_value=[],- description="List of the created variants." + DEPRECATED_IN_3X_FIELD,+ description="List of the created variants." + DEPRECATED_IN_3X_INPUT,)results = NonNullList(diff --git a/saleor/graphql/product/mutations/product_type/product_type_create.py b/saleor/graphql/product/mutations/product_type/product_type_create.pyindex d40dd33d44..87dca5583b 100644--- a/saleor/graphql/product/mutations/product_type/product_type_create.py+++ b/saleor/graphql/product/mutations/product_type/product_type_create.py@@ -50,7 +50,7 @@ class ProductTypeInput(BaseInputObjectType):weight = WeightScalar(description="Weight of the ProductType items.")tax_code = graphene.String(description=(- f"Tax rate for enabled tax gateway. {DEPRECATED_IN_3X_INPUT}. "+ f"Tax rate for enabled tax gateway. {DEPRECATED_IN_3X_INPUT} ""Use tax classes to control the tax calculation for a product type. ""If taxCode is provided, Saleor will try to find a tax class with given ""code (codes are stored in metadata) and assign it. If no tax class is "diff --git a/saleor/graphql/product/schema.py b/saleor/graphql/product/schema.pyindex 20eb8ec542..db82e41ef7 100644--- a/saleor/graphql/product/schema.py+++ b/saleor/graphql/product/schema.py@@ -12,7 +12,7 @@ from ..core import ResolveInfofrom ..core.connection import create_connection_slice, filter_connection_querysetfrom ..core.descriptions import (ADDED_IN_321,- DEPRECATED_IN_3X_FIELD,+ DEFAULT_DEPRECATION_REASON,)from ..core.doc_category import DOC_CATEGORY_PRODUCTSfrom ..core.enums import LanguageCodeEnum, ReportingPeriod@@ -346,7 +346,7 @@ class ProductQueries(graphene.ObjectType):ProductPermissions.MANAGE_PRODUCTS,],doc_category=DOC_CATEGORY_PRODUCTS,- deprecation_reason=DEPRECATED_IN_3X_FIELD,+ deprecation_reason=DEFAULT_DEPRECATION_REASON,)@staticmethoddiff --git a/saleor/graphql/product/types/categories.py b/saleor/graphql/product/types/categories.pyindex 5d4db872c1..b8020cc148 100644--- a/saleor/graphql/product/types/categories.py+++ b/saleor/graphql/product/types/categories.py@@ -19,10 +19,7 @@ from ...core.connection import (filter_connection_queryset,)from ...core.context import get_database_connection_name-from ...core.descriptions import (- DEPRECATED_IN_3X_FIELD,- RICH_CONTENT,-)+from ...core.descriptions import RICH_CONTENTfrom ...core.doc_category import DOC_CATEGORY_PRODUCTSfrom ...core.federation import federated_entity, resolve_federation_referencesfrom ...core.fields import ConnectionField, FilterConnectionField, JSONString@@ -54,9 +51,7 @@ class Category(ModelObjectType[models.Category]):level = graphene.Int(required=True, description="Level of the category.")description_json = JSONString(description="Description of the category." + RICH_CONTENT,- deprecation_reason=(- f"{DEPRECATED_IN_3X_FIELD} Use the `description` field instead."- ),+ deprecation_reason="Use the `description` field instead.",)updated_at = DateTime(required=True,diff --git a/saleor/graphql/product/types/channels.py b/saleor/graphql/product/types/channels.pyindex 19ccc10d77..2faf2b4f5b 100644--- a/saleor/graphql/product/types/channels.py+++ b/saleor/graphql/product/types/channels.py@@ -21,7 +21,7 @@ from ....tax.utils import (from ...account import types as account_typesfrom ...channel.dataloaders import ChannelByIdLoaderfrom ...channel.types import Channel-from ...core.descriptions import ADDED_IN_321, DEPRECATED_IN_3X_FIELD+from ...core.descriptions import ADDED_IN_321from ...core.doc_category import DOC_CATEGORY_PRODUCTSfrom ...core.fields import PermissionsFieldfrom ...core.scalars import Date, DateTime@@ -56,10 +56,7 @@ class ProductChannelListing(ModelObjectType[models.ProductChannelListing]):required=True, description="The ID of the product channel listing.")publication_date = Date(- deprecation_reason=(- f"{DEPRECATED_IN_3X_FIELD} "- "Use the `publishedAt` field to fetch the publication date."- ),+ deprecation_reason="Use the `publishedAt` field to fetch the publication date.",)published_at = DateTime(description="The product publication date time.")is_published = graphene.Boolean(@@ -76,11 +73,7 @@ class ProductChannelListing(ModelObjectType[models.ProductChannelListing]):description="Indicates product visibility in the channel listings.",)available_for_purchase = Date(- deprecation_reason=(- f"{DEPRECATED_IN_3X_FIELD} "- "Use the `availableForPurchaseAt` field to fetch "- "the available for purchase date."- ),+ deprecation_reason="Use the `availableForPurchaseAt` field to fetch the available for purchase date.",)available_for_purchase_at = DateTime(description="The product available for purchase date time."@@ -394,10 +387,7 @@ class CollectionChannelListing(ModelObjectType[models.CollectionChannelListing])required=True, description="The ID of the collection channel listing.")publication_date = Date(- deprecation_reason=(- f"{DEPRECATED_IN_3X_FIELD} "- "Use the `publishedAt` field to fetch the publication date."- ),+ deprecation_reason="Use the `publishedAt` field to fetch the publication date.")published_at = DateTime(description="The collection publication date.")is_published = graphene.Boolean(diff --git a/saleor/graphql/product/types/collections.py b/saleor/graphql/product/types/collections.pyindex 53d813e1dd..047e7a6dde 100644--- a/saleor/graphql/product/types/collections.py+++ b/saleor/graphql/product/types/collections.py@@ -22,7 +22,7 @@ from ...core.connection import (filter_connection_queryset,)from ...core.context import get_database_connection_name-from ...core.descriptions import DEPRECATED_IN_3X_FIELD, RICH_CONTENT+from ...core.descriptions import RICH_CONTENTfrom ...core.doc_category import DOC_CATEGORY_PRODUCTSfrom ...core.federation import federated_entityfrom ...core.fields import FilterConnectionField, JSONString, PermissionsField@@ -61,9 +61,7 @@ class Collection(ChannelContextType[models.Collection]):)description_json = JSONString(description="Description of the collection." + RICH_CONTENT,- deprecation_reason=(- f"{DEPRECATED_IN_3X_FIELD} Use the `description` field instead."- ),+ deprecation_reason="Use the `description` field instead.",)products = FilterConnectionField(ProductCountableConnection,diff --git a/saleor/graphql/product/types/products.py b/saleor/graphql/product/types/products.pyindex c22cb3ac45..24a4543dde 100644--- a/saleor/graphql/product/types/products.py+++ b/saleor/graphql/product/types/products.py@@ -55,12 +55,7 @@ from ...core.connection import (filter_connection_queryset,)from ...core.context import get_database_connection_name-from ...core.descriptions import (- ADDED_IN_321,- DEPRECATED_IN_3X_FIELD,- DEPRECATED_IN_3X_INPUT,- RICH_CONTENT,-)+from ...core.descriptions import ADDED_IN_321, DEPRECATED_IN_3X_INPUT, RICH_CONTENTfrom ...core.doc_category import DOC_CATEGORY_PRODUCTSfrom ...core.enums import ReportingPeriodfrom ...core.federation import federated_entity, resolve_federation_references@@ -180,7 +175,7 @@ class BasePricingInfo(BaseObjectType):discount_local_currency = graphene.Field(TaxedMoney,description="The discount amount in the local currency.",- deprecation_reason=f"{DEPRECATED_IN_3X_FIELD} Always returns `null`.",+ deprecation_reason="Always returns `null`.",)class Meta:@@ -203,12 +198,12 @@ class VariantPricingInfo(BasePricingInfo):discount_local_currency = graphene.Field(TaxedMoney,description="The discount amount in the local currency.",- deprecation_reason=f"{DEPRECATED_IN_3X_FIELD} Always returns `null`.",+ deprecation_reason="Always returns `null`.",)price_local_currency = graphene.Field(TaxedMoney,description="The discounted price in the local currency.",- deprecation_reason=f"{DEPRECATED_IN_3X_FIELD} Always returns `null`.",+ deprecation_reason="Always returns `null`.",)class Meta:@@ -240,7 +235,7 @@ class ProductPricingInfo(BasePricingInfo):description=("The discounted price range of the product variants in the local currency."),- deprecation_reason=f"{DEPRECATED_IN_3X_FIELD} Always returns `null`.",+ deprecation_reason="Always returns `null`.",)class Meta:@@ -352,7 +347,7 @@ class ProductVariant(ChannelContextType[models.ProductVariant]):images = NonNullList(lambda: ProductImage,description="List of images for the product variant.",- deprecation_reason=f"{DEPRECATED_IN_3X_FIELD} Use the `media` field instead.",+ deprecation_reason="Use the `media` field instead.",)media = NonNullList(lambda: ProductMedia,@@ -873,10 +868,7 @@ class Product(ChannelContextType[models.Product]):)charge_taxes = graphene.Boolean(required=True,- deprecation_reason=(- f"{DEPRECATED_IN_3X_FIELD} Use `Channel.taxConfiguration` field to "- "determine whether tax collection is enabled."- ),+ deprecation_reason="Use `Channel.taxConfiguration` field to determine whether tax collection is enabled.",)weight = graphene.Field(Weight, description="Weight of the product.")default_variant = graphene.Field(@@ -891,9 +883,7 @@ class Product(ChannelContextType[models.Product]):)description_json = JSONString(description="Description of the product." + RICH_CONTENT,- deprecation_reason=(- f"{DEPRECATED_IN_3X_FIELD} Use the `description` field instead."- ),+ deprecation_reason="Use the `description` field instead.",)thumbnail = ThumbnailField(description="Thumbnail of the product.")pricing = graphene.Field(@@ -914,7 +904,7 @@ class Product(ChannelContextType[models.Product]):tax_type = graphene.Field(TaxType,description="A type of tax. Assigned by enabled tax gateway",- deprecation_reason=f"{DEPRECATED_IN_3X_FIELD} Use `taxClass` field instead.",+ deprecation_reason="Use `taxClass` field instead.",)attribute = graphene.Field(SelectedAttribute,@@ -944,16 +934,14 @@ class Product(ChannelContextType[models.Product]):lambda: ProductImage,id=graphene.Argument(graphene.ID, description="ID of a product image."),description="Get a single product image by ID.",- deprecation_reason=(- f"{DEPRECATED_IN_3X_FIELD} Use the `mediaById` field instead."- ),+ deprecation_reason="Use the `mediaById` field instead.",)variant = graphene.Field(ProductVariant,id=graphene.Argument(graphene.ID, description="ID of the variant."),sku=graphene.Argument(graphene.String, description="SKU of the variant."),description="Get a single variant by SKU or ID.",- deprecation_reason=f"{DEPRECATED_IN_3X_FIELD} Use top-level `variant` query.",+ deprecation_reason="Use top-level `variant` query.",)variants = NonNullList(ProductVariant,@@ -962,7 +950,7 @@ class Product(ChannelContextType[models.Product]):"include the unpublished items: "f"{', '.join([p.name for p in ALL_PRODUCTS_PERMISSIONS])}."),- deprecation_reason=f"{DEPRECATED_IN_3X_FIELD} Use `productVariants` field instead.",+ deprecation_reason="Use `productVariants` field instead.",)product_variants = FilterConnectionField(ProductVariantCountableConnection,@@ -985,7 +973,7 @@ class Product(ChannelContextType[models.Product]):images = NonNullList(lambda: ProductImage,description="List of images for the product.",- deprecation_reason=f"{DEPRECATED_IN_3X_FIELD} Use the `media` field instead.",+ deprecation_reason="Use the `media` field instead.",)collections = NonNullList("saleor.graphql.product.types.collections.Collection",@@ -1002,11 +990,7 @@ class Product(ChannelContextType[models.Product]):)available_for_purchase = Date(description="Date when product is available for purchase.",- deprecation_reason=(- f"{DEPRECATED_IN_3X_FIELD} "- "Use the `availableForPurchaseAt` field to fetch "- "the available for purchase date."- ),+ deprecation_reason="Use the `availableForPurchaseAt` field to fetch the available for purchase date.",)available_for_purchase_at = DateTime(description="Date when product is available for purchase."@@ -1702,15 +1686,12 @@ class ProductType(ModelObjectType[models.ProductType]):description="Slug of a channel for which the data should be returned."),description="List of products of this type.",- deprecation_reason=(- f"{DEPRECATED_IN_3X_FIELD} "- "Use the top-level `products` query with the `productTypes` filter."- ),+ deprecation_reason="Use the top-level `products` query with the `productTypes` filter.",)tax_type = graphene.Field(TaxType,description="A type of tax. Assigned by enabled tax gateway",- deprecation_reason=f"{DEPRECATED_IN_3X_FIELD} Use `taxClass` field instead.",+ deprecation_reason="Use `taxClass` field instead.",)tax_class = PermissionsField(TaxClass,@@ -1731,9 +1712,7 @@ class ProductType(ModelObjectType[models.ProductType]):VariantAttributeScope,description="Define scope of returned attributes.",),- deprecation_reason=(- f"{DEPRECATED_IN_3X_FIELD} Use `assignedVariantAttributes` instead."- ),+ deprecation_reason="Use `assignedVariantAttributes` instead.",)assigned_variant_attributes = NonNullList(AssignedVariantAttribute,diff --git a/saleor/graphql/schema.graphql b/saleor/graphql/schema.graphqlindex c23ac22352..5f360adc6b 100644--- a/saleor/graphql/schema.graphql+++ b/saleor/graphql/schema.graphql@@ -33,7 +33,7 @@ type Query {Requires one of the following permissions: MANAGE_APPS."""- webhookEvents: [WebhookEvent!] @doc(category: "Webhooks") @deprecated(reason: "This field will be removed in Saleor 4.0. Use `WebhookEventTypeAsyncEnum` and `WebhookEventTypeSyncEnum` to get available event types.")+ webhookEvents: [WebhookEvent!] @doc(category: "Webhooks") @deprecated(reason: "Use `WebhookEventTypeAsyncEnum` and `WebhookEventTypeSyncEnum` to get available event types.")"""Retrieve a sample payload for a given webhook event based on real data. It can be useful for some integrations where sample payload is required.@@ -252,7 +252,7 @@ type Query {Requires one of the following permissions: MANAGE_ORDERS."""- orderSettings: OrderSettings @doc(category: "Orders") @deprecated(reason: "This field will be removed in Saleor 4.0. Use the `channel` query to fetch the `orderSettings` field instead.")+ orderSettings: OrderSettings @doc(category: "Orders") @deprecated(reason: "Use the `channel` query to fetch the `orderSettings` field instead.")"""Gift card related settings from site settings.@@ -608,7 +608,7 @@ type Query {Retrieve the last n elements from the list. Note that the system only allows fetching a maximum of 100 objects in a single query."""last: Int- ): ProductVariantCountableConnection @doc(category: "Products") @deprecated(reason: "This field will be removed in Saleor 4.0.")+ ): ProductVariantCountableConnection @doc(category: "Products") @deprecated"""Look up a payment by ID.@@ -756,7 +756,7 @@ type Query {Retrieve the last n elements from the list. Note that the system only allows fetching a maximum of 100 objects in a single query."""last: Int- ): OrderEventCountableConnection @doc(category: "Orders") @deprecated(reason: "This field will be removed in Saleor 4.0.")+ ): OrderEventCountableConnection @doc(category: "Orders") @deprecated"""Look up an order by ID or external reference."""order(@@ -843,13 +843,13 @@ type Query {"""Slug of a channel for which the data should be returned."""channel: String- ): TaxedMoney @doc(category: "Orders") @deprecated(reason: "This field will be removed in Saleor 4.0.")+ ): TaxedMoney @doc(category: "Orders") @deprecated"""Look up an order by token."""orderByToken("""The order's token."""token: UUID!- ): Order @doc(category: "Orders") @deprecated(reason: "This field will be removed in Saleor 4.0.")+ ): Order @doc(category: "Orders") @deprecated"""Look up a navigation menu by ID or name."""menu(@@ -875,9 +875,9 @@ type Query {sortBy: MenuSortingInput"""- Filtering options for menus.+ Filtering options for menus.- `slug`: This field will be removed in Saleor 4.0. Use `slugs` instead.+ `slug`: Use `slugs` instead."""filter: MenuFilterInput@@ -1062,7 +1062,7 @@ type Query {"""Slug of a channel for which the data should be returned."""channel: String- ): Sale @doc(category: "Discounts") @deprecated(reason: "This field will be removed in Saleor 4.0. Use the `promotion` query instead.")+ ): Sale @doc(category: "Discounts") @deprecated(reason: "Use the `promotion` query instead.")"""List of the shop's sales.@@ -1076,12 +1076,8 @@ type Query {"""Sort sales."""sortBy: SaleSortingInput- """- Search sales by name, value or type.-- DEPRECATED: this field will be removed in Saleor 4.0. Use `filter.search` input instead.- """- query: String+ """Search sales by name, value or type."""+ query: String @deprecated(reason: "Use `filter.search` input instead.")"""Slug of a channel for which the data should be returned."""channel: String@@ -1101,7 +1097,7 @@ type Query {Retrieve the last n elements from the list. Note that the system only allows fetching a maximum of 100 objects in a single query."""last: Int- ): SaleCountableConnection @doc(category: "Discounts") @deprecated(reason: "This field will be removed in Saleor 4.0. Use the `promotions` query instead.")+ ): SaleCountableConnection @doc(category: "Discounts") @deprecated(reason: "Use the `promotions` query instead.")"""Look up a voucher by ID.@@ -1128,12 +1124,8 @@ type Query {"""Sort voucher."""sortBy: VoucherSortingInput- """- Search vouchers by name or code.-- DEPRECATED: this field will be removed in Saleor 4.0. Use `filter.search` input instead.- """- query: String+ """Search vouchers by name or code."""+ query: String @deprecated(reason: "Use `filter.search` input instead.")"""Slug of a channel for which the data should be returned."""channel: String@@ -1234,7 +1226,7 @@ type Query {): ExportFileCountableConnection"""List of all tax rates available from tax gateway."""- taxTypes: [TaxType!] @doc(category: "Taxes") @deprecated(reason: "This field will be removed in Saleor 4.0. Use `taxClasses` field instead.")+ taxTypes: [TaxType!] @doc(category: "Taxes") @deprecated(reason: "Use `taxClasses` field instead.")"""Look up a checkout by id.@@ -1245,12 +1237,8 @@ type Query {"""The checkout's ID."""id: ID- """- The checkout's token.-- DEPRECATED: this field will be removed in Saleor 4.0. Use `id` instead.- """- token: UUID+ """The checkout's token."""+ token: UUID @deprecated(reason: "Use `id` instead.")): Checkout @doc(category: "Checkout")"""@@ -1605,7 +1593,7 @@ type Webhook implements Node @doc(category: "Webhooks") {name: String"""List of webhook events."""- events: [WebhookEvent!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `asyncEvents` or `syncEvents` instead.")+ events: [WebhookEvent!]! @deprecated(reason: "Use `asyncEvents` or `syncEvents` instead.")"""List of synchronous webhook events."""syncEvents: [WebhookEventSync!]!@@ -1648,7 +1636,7 @@ type Webhook implements Node @doc(category: "Webhooks") {isActive: Boolean!"""Used to create a hash signature for each payload."""- secretKey: String @deprecated(reason: "This field will be removed in Saleor 4.0. As of Saleor 3.5, webhook payloads default to signing using a verifiable JWS.")+ secretKey: String @deprecated(reason: "As of Saleor 3.5, webhook payloads default to signing using a verifiable JWS.")"""Used to define payloads for specific events."""subscriptionQuery: String@@ -1674,12 +1662,8 @@ type WebhookEvent @doc(category: "Webhooks") {"""Enum determining type of webhook."""enum WebhookEventTypeEnum @doc(category: "Webhooks") {- """- All the events.-- DEPRECATED: this value will be removed in Saleor 4.0.- """- ANY_EVENTS+ """All the events."""+ ANY_EVENTS @deprecated"""An account confirmation is requested."""ACCOUNT_CONFIRMATION_REQUESTED@@ -1996,12 +1980,8 @@ enum WebhookEventTypeEnum @doc(category: "Webhooks") {"""A checkout metadata is updated."""CHECKOUT_METADATA_UPDATED- """- User notification triggered.-- DEPRECATED: this value will be removed in Saleor 4.0. See the docs for more details about migrating from NOTIFY_USER to other events: https://docs.saleor.io/docs/next/upgrade-guides/notify-user-deprecation- """- NOTIFY_USER+ """User notification triggered."""+ NOTIFY_USER @deprecated(reason: "See the docs for more details about migrating from NOTIFY_USER to other events: https://docs.saleor.io/docs/next/upgrade-guides/notify-user-deprecation")"""A new page is created."""PAGE_CREATED@@ -2244,12 +2224,8 @@ type WebhookEventAsync @doc(category: "Webhooks") {"""Enum determining type of webhook."""enum WebhookEventTypeAsyncEnum @doc(category: "Webhooks") {- """- All the events.-- DEPRECATED: this value will be removed in Saleor 4.0.- """- ANY_EVENTS+ """All the events."""+ ANY_EVENTS @deprecated"""An account confirmation is requested."""ACCOUNT_CONFIRMATION_REQUESTED@@ -2566,12 +2542,8 @@ enum WebhookEventTypeAsyncEnum @doc(category: "Webhooks") {"""A checkout metadata is updated."""CHECKOUT_METADATA_UPDATED- """- User notification triggered.-- DEPRECATED: this value will be removed in Saleor 4.0. See the docs for more details about migrating from NOTIFY_USER to other events: https://docs.saleor.io/docs/next/upgrade-guides/notify-user-deprecation- """- NOTIFY_USER+ """User notification triggered."""+ NOTIFY_USER @deprecated(reason: "See the docs for more details about migrating from NOTIFY_USER to other events: https://docs.saleor.io/docs/next/upgrade-guides/notify-user-deprecation")"""A new page is created."""PAGE_CREATED@@ -2760,7 +2732,7 @@ type App implements Node & ObjectWithMetadata @doc(category: "Apps") {aboutApp: String"""Description of the data privacy defined for this app."""- dataPrivacy: String @deprecated(reason: "This field will be removed in Saleor 4.0. Use `dataPrivacyUrl` instead.")+ dataPrivacy: String @deprecated(reason: "Use `dataPrivacyUrl` instead.")"""URL to details about the privacy policy on the app owner page."""dataPrivacyUrl: String@@ -2772,7 +2744,7 @@ type App implements Node & ObjectWithMetadata @doc(category: "Apps") {supportUrl: String"""URL to iframe with the configuration for the app."""- configurationUrl: String @deprecated(reason: "This field will be removed in Saleor 4.0. Use `appUrl` instead.")+ configurationUrl: String @deprecated(reason: "Use `appUrl` instead.")"""URL to iframe with the app."""appUrl: String@@ -3395,7 +3367,7 @@ type Warehouse implements Node & ObjectWithMetadata @doc(category: "Products") {address: Address!"""Warehouse company name."""- companyName: String! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `Address.companyName` instead.")+ companyName: String! @deprecated(reason: "Use `Address.companyName` instead.")"""Click and collect options: local, all or disabled."""clickAndCollectOption: WarehouseClickAndCollectOptionEnum!@@ -3531,7 +3503,7 @@ type CountryDisplay {country: String!"""Country tax."""- vat: VAT @deprecated(reason: "This field will be removed in Saleor 4.0. Always returns `null`. Use `TaxClassCountryRate` type to manage tax rates per country.")+ vat: VAT @deprecated(reason: "Always returns `null`. Use `TaxClassCountryRate` type to manage tax rates per country.")}"""Represents a VAT rate for a country."""@@ -4625,7 +4597,7 @@ type ShippingMethodTranslatableContent implements Node @doc(category: "Shipping"Requires one of the following permissions: MANAGE_SHIPPING."""- shippingMethod: ShippingMethodType @deprecated(reason: "This field will be removed in Saleor 4.0. Get model fields from the root level queries.")+ shippingMethod: ShippingMethodType @deprecated(reason: "Get model fields from the root level queries.")}"""Represents shipping method channel listing."""@@ -5075,7 +5047,7 @@ type ShippingMethod implements Node & ObjectWithMetadata @doc(category: "Shippinmetafields(keys: [String!]): Metadata"""Type of the shipping method."""- type: ShippingMethodTypeEnum @deprecated(reason: "This field will be removed in Saleor 4.0.")+ type: ShippingMethodTypeEnum @deprecated"""Shipping method name."""name: String!@@ -5094,10 +5066,10 @@ type ShippingMethod implements Node & ObjectWithMetadata @doc(category: "ShippinminimumDeliveryDays: Int"""Maximum order weight for this shipping method."""- maximumOrderWeight: Weight @deprecated(reason: "This field will be removed in Saleor 4.0.")+ maximumOrderWeight: Weight @deprecated"""Minimum order weight for this shipping method."""- minimumOrderWeight: Weight @deprecated(reason: "This field will be removed in Saleor 4.0.")+ minimumOrderWeight: Weight @deprecated"""Returns translated shipping method fields for the given language code."""translation(@@ -5238,7 +5210,7 @@ scalar Hour"""Represents the channel-specific checkout settings."""type CheckoutSettings {"""- Default `true`. Determines if the checkout mutations should use legacy error flow. In legacy flow, all mutations can raise an exception unrelated to the requested action - (e.g. out-of-stock exception when updating checkoutShippingAddress.) If `false`, the errors will be aggregated in `checkout.problems` field. Some of the `problems` can block the finalizing checkout process. The legacy flow will be removed in Saleor 4.0. The flow with `checkout.problems` will be the default one.This field will be removed in Saleor 4.0.+ Default `true`. Determines if the checkout mutations should use legacy error flow. In legacy flow, all mutations can raise an exception unrelated to the requested action - (e.g. out-of-stock exception when updating checkoutShippingAddress.) If `false`, the errors will be aggregated in `checkout.problems` field. Some of the `problems` can block the finalizing checkout process. The legacy flow will be removed in Saleor 4.0. The flow with `checkout.problems` will be the default one."""useLegacyErrorFlow: Boolean!@@ -5463,7 +5435,7 @@ type Product implements Node & ObjectWithMetadata @doc(category: "Products") {"""The date and time when the product was last updated."""updatedAt: DateTime!- chargeTaxes: Boolean! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `Channel.taxConfiguration` field to determine whether tax collection is enabled.")+ chargeTaxes: Boolean! @deprecated(reason: "Use `Channel.taxConfiguration` field to determine whether tax collection is enabled.")"""Weight of the product."""weight: Weight@@ -5484,7 +5456,7 @@ type Product implements Node & ObjectWithMetadata @doc(category: "Products") {Rich text format. For reference see https://editorjs.io/"""- descriptionJson: JSONString @deprecated(reason: "This field will be removed in Saleor 4.0. Use the `description` field instead.")+ descriptionJson: JSONString @deprecated(reason: "Use the `description` field instead.")"""Thumbnail of the product."""thumbnail(@@ -5520,7 +5492,7 @@ type Product implements Node & ObjectWithMetadata @doc(category: "Products") {): Boolean"""A type of tax. Assigned by enabled tax gateway"""- taxType: TaxType @deprecated(reason: "This field will be removed in Saleor 4.0. Use `taxClass` field instead.")+ taxType: TaxType @deprecated(reason: "Use `taxClass` field instead.")"""Get a single attribute attached to product by attribute slug."""attribute(@@ -5548,7 +5520,7 @@ type Product implements Node & ObjectWithMetadata @doc(category: "Products") {imageById("""ID of a product image."""id: ID- ): ProductImage @deprecated(reason: "This field will be removed in Saleor 4.0. Use the `mediaById` field instead.")+ ): ProductImage @deprecated(reason: "Use the `mediaById` field instead.")"""Get a single variant by SKU or ID."""variant(@@ -5557,12 +5529,12 @@ type Product implements Node & ObjectWithMetadata @doc(category: "Products") {"""SKU of the variant."""sku: String- ): ProductVariant @deprecated(reason: "This field will be removed in Saleor 4.0. Use top-level `variant` query.")+ ): ProductVariant @deprecated(reason: "Use top-level `variant` query.")"""List of variants for the product. Requires the following permissions to include the unpublished items: MANAGE_ORDERS, MANAGE_DISCOUNTS, MANAGE_PRODUCTS."""- variants: [ProductVariant!] @deprecated(reason: "This field will be removed in Saleor 4.0. Use `productVariants` field instead.")+ variants: [ProductVariant!] @deprecated(reason: "Use `productVariants` field instead.")"""List of variants for the product. Requires the following permissions to include the unpublished items: MANAGE_ORDERS, MANAGE_DISCOUNTS, MANAGE_PRODUCTS.@@ -5603,7 +5575,7 @@ type Product implements Node & ObjectWithMetadata @doc(category: "Products") {): [ProductMedia!]"""List of images for the product."""- images: [ProductImage!] @deprecated(reason: "This field will be removed in Saleor 4.0. Use the `media` field instead.")+ images: [ProductImage!] @deprecated(reason: "Use the `media` field instead.")"""List of collections for the product. Requires the following permissions to include the unpublished items: MANAGE_ORDERS, MANAGE_DISCOUNTS, MANAGE_PRODUCTS.@@ -5617,7 +5589,7 @@ type Product implements Node & ObjectWithMetadata @doc(category: "Products") {): ProductTranslation"""Date when product is available for purchase."""- availableForPurchase: Date @deprecated(reason: "This field will be removed in Saleor 4.0. Use the `availableForPurchaseAt` field to fetch the available for purchase date.")+ availableForPurchase: Date @deprecated(reason: "Use the `availableForPurchaseAt` field to fetch the available for purchase date.")"""Date when product is available for purchase."""availableForPurchaseAt: DateTime@@ -5716,10 +5688,10 @@ type ProductType implements Node & ObjectWithMetadata @doc(category: "Products")Retrieve the last n elements from the list. Note that the system only allows fetching a maximum of 100 objects in a single query."""last: Int- ): ProductCountableConnection @deprecated(reason: "This field will be removed in Saleor 4.0. Use the top-level `products` query with the `productTypes` filter.")+ ): ProductCountableConnection @deprecated(reason: "Use the top-level `products` query with the `productTypes` filter.")"""A type of tax. Assigned by enabled tax gateway"""- taxType: TaxType @deprecated(reason: "This field will be removed in Saleor 4.0. Use `taxClass` field instead.")+ taxType: TaxType @deprecated(reason: "Use `taxClass` field instead.")"""Tax class assigned to this product type. All products of this product type use this tax class, unless it's overridden in the `Product` type.@@ -5732,7 +5704,7 @@ type ProductType implements Node & ObjectWithMetadata @doc(category: "Products")variantAttributes("""Define scope of returned attributes."""variantSelection: VariantAttributeScope- ): [Attribute!] @deprecated(reason: "This field will be removed in Saleor 4.0. Use `assignedVariantAttributes` instead.")+ ): [Attribute!] @deprecated(reason: "Use `assignedVariantAttributes` instead.")"""Variant attributes of that product type with attached variant selection.@@ -5937,7 +5909,7 @@ type Attribute implements Node & ObjectWithMetadata @doc(category: "Attributes")"""Whether the attribute can be filtered in storefront. Requires one of the following permissions: MANAGE_PAGES, MANAGE_PAGE_TYPES_AND_ATTRIBUTES, MANAGE_PRODUCTS, MANAGE_PRODUCT_TYPES_AND_ATTRIBUTES."""- filterableInStorefront: Boolean! @deprecated(reason: "This field will be removed in Saleor 4.0.")+ filterableInStorefront: Boolean! @deprecated"""Whether the attribute can be filtered in dashboard. Requires one of the following permissions: MANAGE_PAGES, MANAGE_PAGE_TYPES_AND_ATTRIBUTES, MANAGE_PRODUCTS, MANAGE_PRODUCT_TYPES_AND_ATTRIBUTES.@@ -5947,12 +5919,12 @@ type Attribute implements Node & ObjectWithMetadata @doc(category: "Attributes")"""Whether the attribute can be displayed in the admin product list. Requires one of the following permissions: MANAGE_PAGES, MANAGE_PAGE_TYPES_AND_ATTRIBUTES, MANAGE_PRODUCTS, MANAGE_PRODUCT_TYPES_AND_ATTRIBUTES."""- availableInGrid: Boolean! @deprecated(reason: "This field will be removed in Saleor 4.0.")+ availableInGrid: Boolean! @deprecated"""The position of the attribute in the storefront navigation (0 by default). Requires one of the following permissions: MANAGE_PAGES, MANAGE_PAGE_TYPES_AND_ATTRIBUTES, MANAGE_PRODUCTS, MANAGE_PRODUCT_TYPES_AND_ATTRIBUTES."""- storefrontSearchPosition: Int! @deprecated(reason: "This field will be removed in Saleor 4.0.")+ storefrontSearchPosition: Int! @deprecated"""Returns translated attribute fields for the given language code."""translation(@@ -6199,7 +6171,7 @@ type AttributeValueTranslatableContent implements Node @doc(category: "Attribute): AttributeValueTranslation"""Represents a value of an attribute."""- attributeValue: AttributeValue @deprecated(reason: "This field will be removed in Saleor 4.0. Get model fields from the root level queries.")+ attributeValue: AttributeValue @deprecated(reason: "Get model fields from the root level queries.")"""Associated attribute that can be translated."""attribute: AttributeTranslatableContent@@ -6225,7 +6197,7 @@ type AttributeTranslatableContent implements Node @doc(category: "Attributes") {): AttributeTranslation"""Custom attribute of a product."""- attribute: Attribute @deprecated(reason: "This field will be removed in Saleor 4.0. Get model fields from the root level queries.")+ attribute: Attribute @deprecated(reason: "Get model fields from the root level queries.")}"""Represents attribute translations."""@@ -6348,12 +6320,8 @@ input AttributeFilterInput @doc(category: "Attributes") {inCategory: IDslugs: [String!]- """- Specifies the channel by which the data should be filtered.-- DEPRECATED: this field will be removed in Saleor 4.0. Use root-level channel argument instead.- """- channel: String+ """Specifies the channel by which the data should be filtered."""+ channel: String @deprecated(reason: "Use root-level channel argument instead.")}input MetadataFilter {@@ -6496,7 +6464,7 @@ type Category implements Node & ObjectWithMetadata @doc(category: "Products") {Rich text format. For reference see https://editorjs.io/"""- descriptionJson: JSONString @deprecated(reason: "This field will be removed in Saleor 4.0. Use the `description` field instead.")+ descriptionJson: JSONString @deprecated(reason: "Use the `description` field instead.")"""The date and time when the category was last updated."""updatedAt: DateTime!@@ -6648,12 +6616,8 @@ input ProductFilterInput @doc(category: "Products") {hasPreorderedVariants: Booleanslugs: [String!]- """- Specifies the channel by which the data should be filtered.-- DEPRECATED: this field will be removed in Saleor 4.0. Use root-level channel argument instead.- """- channel: String+ """Specifies the channel by which the data should be filtered."""+ channel: String @deprecated(reason: "Use root-level channel argument instead.")}input AttributeInput @doc(category: "Attributes") {@@ -6841,12 +6805,8 @@ input ProductOrder @doc(category: "Products") {"""Specifies the direction in which to sort products."""direction: OrderDirection!- """- Specifies the channel in which to sort the data.-- DEPRECATED: this field will be removed in Saleor 4.0. Use root-level channel argument instead.- """- channel: String+ """Specifies the channel in which to sort the data."""+ channel: String @deprecated(reason: "Use root-level channel argument instead.")"""Sort product by the selected attribute's values.@@ -6979,7 +6939,7 @@ type CategoryTranslation implements Node @doc(category: "Products") {Rich text format. For reference see https://editorjs.io/"""- descriptionJson: JSONString @deprecated(reason: "This field will be removed in Saleor 4.0. Use the `description` field instead.")+ descriptionJson: JSONString @deprecated(reason: "Use the `description` field instead.")"""Represents the category fields to translate."""translatableContent: CategoryTranslatableContent@@ -7023,7 +6983,7 @@ type CategoryTranslatableContent implements Node @doc(category: "Products") {Rich text format. For reference see https://editorjs.io/"""- descriptionJson: JSONString @deprecated(reason: "This field will be removed in Saleor 4.0. Use the `description` field instead.")+ descriptionJson: JSONString @deprecated(reason: "Use the `description` field instead.")"""Returns translated category fields for the given language code."""translation(@@ -7032,7 +6992,7 @@ type CategoryTranslatableContent implements Node @doc(category: "Products") {): CategoryTranslation"""Represents a single category of products."""- category: Category @deprecated(reason: "This field will be removed in Saleor 4.0. Get model fields from the root level queries.")+ category: Category @deprecated(reason: "Get model fields from the root level queries.")}"""Represents a version of a product such as different size or color."""@@ -7136,7 +7096,7 @@ type ProductVariant implements Node & ObjectWithMetadata @doc(category: "Productrevenue(period: ReportingPeriod): TaxedMoney"""List of images for the product variant."""- images: [ProductImage!] @deprecated(reason: "This field will be removed in Saleor 4.0. Use the `media` field instead.")+ images: [ProductImage!] @deprecated(reason: "Use the `media` field instead.")"""List of media for the product variant."""media: [ProductMedia!]@@ -7165,12 +7125,8 @@ type ProductVariant implements Node & ObjectWithMetadata @doc(category: "Product"""address: AddressInput- """- Two-letter ISO 3166-1 country code.-- DEPRECATED: this field will be removed in Saleor 4.0. Use `address` argument instead.- """- countryCode: CountryCode+ """Two-letter ISO 3166-1 country code."""+ countryCode: CountryCode @deprecated(reason: "Use `address` argument instead.")): [Stock!]"""@@ -7183,11 +7139,9 @@ type ProductVariant implements Node & ObjectWithMetadata @doc(category: "Productaddress: AddressInput"""- Two-letter ISO 3166-1 country code. When provided, the exact quantity from a warehouse operating in shipping zones that contain this country will be returned. Otherwise, it will return the maximum quantity from all shipping zones.-- DEPRECATED: this field will be removed in Saleor 4.0. Use `address` argument instead.+ Two-letter ISO 3166-1 country code. When provided, the exact quantity from a warehouse operating in shipping zones that contain this country will be returned. Otherwise, it will return the maximum quantity from all shipping zones."""- countryCode: CountryCode+ countryCode: CountryCode @deprecated(reason: "Use `address` argument instead.")): Int"""Preorder data for product variant."""@@ -7260,7 +7214,7 @@ type VariantPricingInfo @doc(category: "Products") {discountPrior: TaxedMoney"""The discount amount in the local currency."""- discountLocalCurrency: TaxedMoney @deprecated(reason: "This field will be removed in Saleor 4.0. Always returns `null`.")+ discountLocalCurrency: TaxedMoney @deprecated(reason: "Always returns `null`.")"""The price, with any discount subtracted."""price: TaxedMoney@@ -7276,7 +7230,7 @@ type VariantPricingInfo @doc(category: "Products") {pricePrior: TaxedMoney"""The discounted price in the local currency."""- priceLocalCurrency: TaxedMoney @deprecated(reason: "This field will be removed in Saleor 4.0. Always returns `null`.")+ priceLocalCurrency: TaxedMoney @deprecated(reason: "Always returns `null`.")}"""@@ -7500,7 +7454,7 @@ type ProductVariantTranslatableContent implements Node @doc(category: "Products"): ProductVariantTranslation"""Represents a version of a product such as different size or color."""- productVariant: ProductVariant @deprecated(reason: "This field will be removed in Saleor 4.0. Get model fields from the root level queries.")+ productVariant: ProductVariant @deprecated(reason: "Get model fields from the root level queries.")"""List of product variant attribute values that can be translated."""attributeValues: [AttributeValueTranslatableContent!]!@@ -7655,7 +7609,7 @@ type ProductPricingInfo @doc(category: "Products") {discountPrior: TaxedMoney"""The discount amount in the local currency."""- discountLocalCurrency: TaxedMoney @deprecated(reason: "This field will be removed in Saleor 4.0. Always returns `null`.")+ discountLocalCurrency: TaxedMoney @deprecated(reason: "Always returns `null`.")"""Determines whether displayed prices should include taxes."""displayGrossPrices: Boolean!@@ -7676,7 +7630,7 @@ type ProductPricingInfo @doc(category: "Products") {"""The discounted price range of the product variants in the local currency."""- priceRangeLocalCurrency: TaxedMoneyRange @deprecated(reason: "This field will be removed in Saleor 4.0. Always returns `null`.")+ priceRangeLocalCurrency: TaxedMoneyRange @deprecated(reason: "Always returns `null`.")}"""Represents a range of monetary values."""@@ -7692,7 +7646,7 @@ type TaxedMoneyRange {type ProductChannelListing implements Node @doc(category: "Products") {"""The ID of the product channel listing."""id: ID!- publicationDate: Date @deprecated(reason: "This field will be removed in Saleor 4.0. Use the `publishedAt` field to fetch the publication date.")+ publicationDate: Date @deprecated(reason: "Use the `publishedAt` field to fetch the publication date.")"""The product publication date time."""publishedAt: DateTime@@ -7705,7 +7659,7 @@ type ProductChannelListing implements Node @doc(category: "Products") {"""Indicates product visibility in the channel listings."""visibleInListings: Boolean!- availableForPurchase: Date @deprecated(reason: "This field will be removed in Saleor 4.0. Use the `availableForPurchaseAt` field to fetch the available for purchase date.")+ availableForPurchase: Date @deprecated(reason: "Use the `availableForPurchaseAt` field to fetch the available for purchase date.")"""The product available for purchase date time."""availableForPurchaseAt: DateTime@@ -7878,7 +7832,7 @@ type Collection implements Node & ObjectWithMetadata @doc(category: "Products")Rich text format. For reference see https://editorjs.io/"""- descriptionJson: JSONString @deprecated(reason: "This field will be removed in Saleor 4.0. Use the `description` field instead.")+ descriptionJson: JSONString @deprecated(reason: "Use the `description` field instead.")"""List of products in this collection."""products(@@ -7971,7 +7925,7 @@ type CollectionTranslation implements Node @doc(category: "Products") {Rich text format. For reference see https://editorjs.io/"""- descriptionJson: JSONString @deprecated(reason: "This field will be removed in Saleor 4.0. Use the `description` field instead.")+ descriptionJson: JSONString @deprecated(reason: "Use the `description` field instead.")"""Represents the collection fields to translate."""translatableContent: CollectionTranslatableContent@@ -8015,7 +7969,7 @@ type CollectionTranslatableContent implements Node @doc(category: "Products") {Rich text format. For reference see https://editorjs.io/"""- descriptionJson: JSONString @deprecated(reason: "This field will be removed in Saleor 4.0. Use the `description` field instead.")+ descriptionJson: JSONString @deprecated(reason: "Use the `description` field instead.")"""Returns translated collection fields for the given language code."""translation(@@ -8024,14 +7978,14 @@ type CollectionTranslatableContent implements Node @doc(category: "Products") {): CollectionTranslation"""Represents a collection of products."""- collection: Collection @deprecated(reason: "This field will be removed in Saleor 4.0. Get model fields from the root level queries.")+ collection: Collection @deprecated(reason: "Get model fields from the root level queries.")}"""Represents collection channel listing."""type CollectionChannelListing implements Node @doc(category: "Products") {"""The ID of the collection channel listing."""id: ID!- publicationDate: Date @deprecated(reason: "This field will be removed in Saleor 4.0. Use the `publishedAt` field to fetch the publication date.")+ publicationDate: Date @deprecated(reason: "Use the `publishedAt` field to fetch the publication date.")"""The collection publication date."""publishedAt: DateTime@@ -8079,7 +8033,7 @@ type ProductTranslation implements Node @doc(category: "Products") {Rich text format. For reference see https://editorjs.io/"""- descriptionJson: JSONString @deprecated(reason: "This field will be removed in Saleor 4.0. Use the `description` field instead.")+ descriptionJson: JSONString @deprecated(reason: "Use the `description` field instead.")"""Represents the product fields to translate."""translatableContent: ProductTranslatableContent@@ -8123,7 +8077,7 @@ type ProductTranslatableContent implements Node @doc(category: "Products") {Rich text format. For reference see https://editorjs.io/"""- descriptionJson: JSONString @deprecated(reason: "This field will be removed in Saleor 4.0. Use the `description` field instead.")+ descriptionJson: JSONString @deprecated(reason: "Use the `description` field instead.")"""Returns translated product fields for the given language code."""translation(@@ -8132,7 +8086,7 @@ type ProductTranslatableContent implements Node @doc(category: "Products") {): ProductTranslation"""Represents an individual item for sale in the storefront."""- product: Product @deprecated(reason: "This field will be removed in Saleor 4.0. Get model fields from the root level queries.")+ product: Product @deprecated(reason: "Get model fields from the root level queries.")"""List of product attribute values that can be translated."""attributeValues: [AttributeValueTranslatableContent!]!@@ -8252,7 +8206,7 @@ type PageTranslatableContent implements Node @doc(category: "Pages") {Rich text format. For reference see https://editorjs.io/"""- contentJson: JSONString @deprecated(reason: "This field will be removed in Saleor 4.0. Use the `content` field instead.")+ contentJson: JSONString @deprecated(reason: "Use the `content` field instead.")"""Returns translated page fields for the given language code."""translation(@@ -8263,7 +8217,7 @@ type PageTranslatableContent implements Node @doc(category: "Pages") {"""A static page that can be manually added by a shop operator through the dashboard."""- page: Page @deprecated(reason: "This field will be removed in Saleor 4.0. Get model fields from the root level queries.")+ page: Page @deprecated(reason: "Get model fields from the root level queries.")"""List of page content attribute values that can be translated."""attributeValues: [AttributeValueTranslatableContent!]!@@ -8305,7 +8259,7 @@ type PageTranslation implements Node @doc(category: "Pages") {Rich text format. For reference see https://editorjs.io/"""- contentJson: JSONString @deprecated(reason: "This field will be removed in Saleor 4.0. Use the `content` field instead.")+ contentJson: JSONString @deprecated(reason: "Use the `content` field instead.")"""Represents the page fields to translate."""translatableContent: PageTranslatableContent@@ -8363,7 +8317,7 @@ type Page implements Node & ObjectWithMetadata @doc(category: "Pages") {Rich text format. For reference see https://editorjs.io/"""content: JSONString- publicationDate: Date @deprecated(reason: "This field will be removed in Saleor 4.0. Use the `publishedAt` field to fetch the publication date.")+ publicationDate: Date @deprecated(reason: "Use the `publishedAt` field to fetch the publication date.")"""The page publication date."""publishedAt: DateTime@@ -8385,7 +8339,7 @@ type Page implements Node & ObjectWithMetadata @doc(category: "Pages") {Rich text format. For reference see https://editorjs.io/"""- contentJson: JSONString! @deprecated(reason: "This field will be removed in Saleor 4.0. Use the `content` field instead.")+ contentJson: JSONString! @deprecated(reason: "Use the `content` field instead.")"""Returns translated page fields for the given language code."""translation(@@ -8501,7 +8455,7 @@ type VoucherTranslatableContent implements Node @doc(category: "Discounts") {Requires one of the following permissions: MANAGE_DISCOUNTS."""- voucher: Voucher @deprecated(reason: "This field will be removed in Saleor 4.0. Get model fields from the root level queries.")+ voucher: Voucher @deprecated(reason: "Get model fields from the root level queries.")}"""Represents voucher translations."""@@ -8582,7 +8536,7 @@ type Voucher implements Node & ObjectWithMetadata @doc(category: "Discounts") {last: Int): VoucherCodeCountableConnection- """The code of the voucher.This field will be removed in Saleor 4.0."""+ """The code of the voucher."""code: String"""The number of times a voucher can be used."""@@ -8852,7 +8806,7 @@ type MenuItemTranslatableContent implements Node @doc(category: "Menu") {"""Represents a single item of the related menu. Can store categories, collection or pages."""- menuItem: MenuItem @deprecated(reason: "This field will be removed in Saleor 4.0. Get model fields from the root level queries.")+ menuItem: MenuItem @deprecated(reason: "Get model fields from the root level queries.")}"""Represents menu item translations."""@@ -9093,7 +9047,7 @@ type PromotionRuleTranslation implements Node @doc(category: "Discounts") {"""Represents sale's original translatable fields and related translations.-DEPRECATED: this type will be removed in Saleor 4.0. Use `PromotionTranslatableContent` instead.+DEPRECATED: this type will be removed. Use `PromotionTranslatableContent` instead."""type SaleTranslatableContent implements Node @doc(category: "Discounts") {"""The ID of the sale translatable content."""@@ -9116,13 +9070,13 @@ type SaleTranslatableContent implements Node @doc(category: "Discounts") {Requires one of the following permissions: MANAGE_DISCOUNTS."""- sale: Sale @deprecated(reason: "This field will be removed in Saleor 4.0. Get model fields from the root level queries.")+ sale: Sale @deprecated(reason: "Get model fields from the root level queries.")}"""Represents sale translations.-DEPRECATED: this type will be removed in Saleor 4.0. Use `PromotionTranslation` instead.+DEPRECATED: this type will be removed. Use `PromotionTranslation` instead."""type SaleTranslation implements Node @doc(category: "Discounts") {"""The ID of the sale translation."""@@ -9141,7 +9095,7 @@ type SaleTranslation implements Node @doc(category: "Discounts") {"""Sales allow creating discounts for categories, collections or products and are visible to all the customers.-DEPRECATED: this type will be removed in Saleor 4.0. Use `Promotion` type instead.+DEPRECATED: this type will be removed. Use `Promotion` type instead."""type Sale implements Node & ObjectWithMetadata @doc(category: "Discounts") {"""The ID of the sale."""@@ -9311,7 +9265,7 @@ enum SaleType @doc(category: "Discounts") {"""Represents sale channel listing.-DEPRECATED: this type will be removed in Saleor 4.0. Use `PromotionRule` type instead.+DEPRECATED: this type will be removed. Use `PromotionRule` type instead."""type SaleChannelListing implements Node @doc(category: "Discounts") {"""The ID of the channel listing."""@@ -9454,12 +9408,8 @@ type Shop implements ObjectWithMetadata {"""List of available payment gateways."""availablePaymentGateways(- """- A currency for which gateways will be returned.-- DEPRECATED: this field will be removed in Saleor 4.0. Use `channel` argument instead.- """- currency: String+ """A currency for which gateways will be returned."""+ currency: String @deprecated(reason: "Use `channel` argument instead.")"""Slug of a channel for which the data should be returned."""channel: String@@ -9486,12 +9436,8 @@ type Shop implements ObjectWithMetadata {"""List of countries available in the shop."""countries(- """- A language code to return the translation for.-- DEPRECATED: this field will be removed in Saleor 4.0.- """- languageCode: LanguageCodeEnum+ """A language code to return the translation for."""+ languageCode: LanguageCodeEnum @deprecated"""Filtering options for countries"""filter: CountryFilterInput@@ -9629,7 +9575,7 @@ type Shop implements ObjectWithMetadata {Requires one of the following permissions: AUTHENTICATED_STAFF_USER."""- limits: LimitInfo! @deprecated(reason: "This field will be removed in Saleor 4.0.")+ limits: LimitInfo! @deprecated"""Saleor API version.@@ -9651,13 +9597,13 @@ type Shop implements ObjectWithMetadata {availableTaxApps: [App!]!"""Include taxes in prices."""- includeTaxesInPrices: Boolean! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `Channel.taxConfiguration.pricesEnteredWithTax` to determine whether prices are entered with tax.")+ includeTaxesInPrices: Boolean! @deprecated(reason: "Use `Channel.taxConfiguration.pricesEnteredWithTax` to determine whether prices are entered with tax.")"""Display prices with tax in store."""- displayGrossPrices: Boolean! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `Channel.taxConfiguration` to determine whether to display gross or net prices.")+ displayGrossPrices: Boolean! @deprecated(reason: "Use `Channel.taxConfiguration` to determine whether to display gross or net prices.")"""Charge taxes on shipping."""- chargeTaxesOnShipping: Boolean! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `ShippingMethodType.taxClass` to determine whether taxes are calculated for shipping methods; if a tax class is set, the taxes will be calculated, otherwise no tax rate will be applied.")+ chargeTaxesOnShipping: Boolean! @deprecated(reason: "Use `ShippingMethodType.taxClass` to determine whether taxes are calculated for shipping methods; if a tax class is set, the taxes will be calculated, otherwise no tax rate will be applied.")}"""@@ -9803,13 +9749,13 @@ type User implements Node & ObjectWithMetadata @doc(category: "Users") {addresses: [Address!]!"""Returns the last open checkout of this user."""- checkout: Checkout @deprecated(reason: "This field will be removed in Saleor 4.0. Use the `checkoutTokens` field to fetch the user checkouts.")+ checkout: Checkout @deprecated(reason: "Use the `checkoutTokens` field to fetch the user checkouts.")"""Returns the checkout UUID's assigned to this user."""checkoutTokens("""Slug of a channel for which the data should be returned."""channel: String- ): [UUID!] @deprecated(reason: "This field will be removed in Saleor 4.0. Use `checkoutIds` instead.")+ ): [UUID!] @deprecated(reason: "Use `checkoutIds` instead.")"""Returns the checkout ID's assigned to this user."""checkoutIds(@@ -10005,7 +9951,7 @@ type Checkout implements Node & ObjectWithMetadata @doc(category: "Checkout") {"""Time of last modification of the given checkout."""updatedAt: DateTime!- lastChange: DateTime! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `updatedAt` instead.")+ lastChange: DateTime! @deprecated(reason: "Use `updatedAt` instead.")"""The user assigned to the checkout. Requires one of the following permissions: MANAGE_USERS, HANDLE_PAYMENTS, OWNER.@@ -10029,7 +9975,7 @@ type Checkout implements Node & ObjectWithMetadata @doc(category: "Checkout") {customerNote: String!"""The note for the checkout."""- note: String! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `customerNote` instead.")+ note: String! @deprecated(reason: "Use `customerNote` instead.")"""The total discount applied to the checkout. Note: Only discount created via voucher are included in this field.@@ -10063,7 +10009,7 @@ type Checkout implements Node & ObjectWithMetadata @doc(category: "Checkout") {- SHIPPING_LIST_METHODS_FOR_CHECKOUT (sync): Optionally triggered when cached external shipping methods are invalid.- CHECKOUT_FILTER_SHIPPING_METHODS (sync): Optionally triggered when cached filtered shipping methods are invalid."""- availableShippingMethods: [ShippingMethod!]! @webhookEventsInfo(asyncEvents: [], syncEvents: [SHIPPING_LIST_METHODS_FOR_CHECKOUT, CHECKOUT_FILTER_SHIPPING_METHODS]) @deprecated(reason: "This field will be removed in Saleor 4.0. Use `shippingMethods` instead.")+ availableShippingMethods: [ShippingMethod!]! @webhookEventsInfo(asyncEvents: [], syncEvents: [SHIPPING_LIST_METHODS_FOR_CHECKOUT, CHECKOUT_FILTER_SHIPPING_METHODS]) @deprecated(reason: "Use `shippingMethods` instead.")"""Shipping methods that can be used with this checkout.@@ -10122,7 +10068,7 @@ type Checkout implements Node & ObjectWithMetadata @doc(category: "Checkout") {- SHIPPING_LIST_METHODS_FOR_CHECKOUT (sync): Optionally triggered when cached external shipping methods are invalid.- CHECKOUT_FILTER_SHIPPING_METHODS (sync): Optionally triggered when cached filtered shipping methods are invalid."""- shippingMethod: ShippingMethod @webhookEventsInfo(asyncEvents: [], syncEvents: [SHIPPING_LIST_METHODS_FOR_CHECKOUT, CHECKOUT_FILTER_SHIPPING_METHODS]) @deprecated(reason: "This field will be removed in Saleor 4.0. Use `deliveryMethod` instead.")+ shippingMethod: ShippingMethod @webhookEventsInfo(asyncEvents: [], syncEvents: [SHIPPING_LIST_METHODS_FOR_CHECKOUT, CHECKOUT_FILTER_SHIPPING_METHODS]) @deprecated(reason: "Use `deliveryMethod` instead.")"""The delivery method selected for this checkout.@@ -10259,7 +10205,7 @@ type GiftCard implements Node & ObjectWithMetadata @doc(category: "Gift cards")createdBy: User"""The customer who used a gift card."""- usedBy: User @deprecated(reason: "This field will be removed in Saleor 4.0.")+ usedBy: User @deprecated"""Email address of the user who bought or issued gift card.@@ -10269,7 +10215,7 @@ type GiftCard implements Node & ObjectWithMetadata @doc(category: "Gift cards")createdByEmail: String"""Email address of the customer who used a gift card."""- usedByEmail: String @deprecated(reason: "This field will be removed in Saleor 4.0.")+ usedByEmail: String @deprecated"""Date and time when gift card was last used."""lastUsedOn: DateTime@@ -10311,13 +10257,13 @@ type GiftCard implements Node & ObjectWithMetadata @doc(category: "Gift cards")currentBalance: Money!"""The customer who bought a gift card."""- user: User @deprecated(reason: "This field will be removed in Saleor 4.0. Use `createdBy` field instead.")+ user: User @deprecated(reason: "Use `createdBy` field instead.")"""End date of gift card."""- endDate: DateTime @deprecated(reason: "This field will be removed in Saleor 4.0. Use `expiryDate` field instead.")+ endDate: DateTime @deprecated(reason: "Use `expiryDate` field instead.")"""Start date of gift card."""- startDate: DateTime @deprecated(reason: "This field will be removed in Saleor 4.0.")+ startDate: DateTime @deprecated}"""History log of the gift card."""@@ -10698,9 +10644,7 @@ type Order implements Node & ObjectWithMetadata @doc(category: "Orders") {"""user: User- """- Google Analytics tracking client ID. This field will be removed in Saleor 4.0.- """+ """Google Analytics tracking client ID."""trackingClientId: String!"""@@ -10791,7 +10735,7 @@ type Order implements Node & ObjectWithMetadata @doc(category: "Orders") {undiscountedTotal: TaxedMoney!"""Shipping method for this order."""- shippingMethod: ShippingMethod @deprecated(reason: "This field will be removed in Saleor 4.0. Use `deliveryMethod` instead.")+ shippingMethod: ShippingMethod @deprecated(reason: "Use `deliveryMethod` instead.")"""Undiscounted total price of shipping.@@ -10823,7 +10767,7 @@ type Order implements Node & ObjectWithMetadata @doc(category: "Orders") {Denormalized private metadata of the shipping method's tax class. Requires staff permissions to access."""shippingTaxClassPrivateMetadata: [MetadataItem!]!- token: String! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `id` instead.")+ token: String! @deprecated(reason: "Use `id` instead.")"""Voucher linked to the order."""voucher: Voucher@@ -10862,7 +10806,7 @@ type Order implements Node & ObjectWithMetadata @doc(category: "Orders") {totalAuthorized: Money!"""Amount captured for the order."""- totalCaptured: Money! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `totalCharged` instead.")+ totalCaptured: Money! @deprecated(reason: "Use `totalCharged` instead.")"""Amount charged for the order."""totalCharged: Money!@@ -10890,19 +10834,19 @@ type Order implements Node & ObjectWithMetadata @doc(category: "Orders") {"""The delivery method selected for this order."""deliveryMethod: DeliveryMethod- languageCode: String! @deprecated(reason: "This field will be removed in Saleor 4.0. Use the `languageCodeEnum` field to fetch the language code. ")+ languageCode: String! @deprecated(reason: "Use the `languageCodeEnum` field to fetch the language code.")"""Order language code."""languageCodeEnum: LanguageCodeEnum!"""Returns applied discount."""- discount: Money @deprecated(reason: "This field will be removed in Saleor 4.0. Use the `discounts` field instead.")+ discount: Money @deprecated(reason: "Use the `discounts` field instead.")"""Discount name."""- discountName: String @deprecated(reason: "This field will be removed in Saleor 4.0. Use the `discounts` field instead.")+ discountName: String @deprecated(reason: "Use the `discounts` field instead.")"""Translated discount name."""- translatedDiscountName: String @deprecated(reason: "This field will be removed in Saleor 4.0. Use the `discounts` field instead. ")+ translatedDiscountName: String @deprecated(reason: "Use the `discounts` field instead.")"""List of all discounts assigned to the order."""discounts: [OrderDiscount!]!@@ -11328,7 +11272,7 @@ type Invoice implements ObjectWithMetadata & Job & Node @doc(category: "Orders")number: String"""URL to view an invoice."""- externalUrl: String @deprecated(reason: "This field will be removed in Saleor 4.0. Use `url` field.This field will be removed in 4.0")+ externalUrl: String @deprecated(reason: "Use `url` field.")"""URL to view/download an invoice."""url: String@@ -12413,12 +12357,8 @@ input CategorySortingInput @doc(category: "Products") {"""Specifies the direction in which to sort categories."""direction: OrderDirection!- """- Specifies the channel in which to sort the data.-- DEPRECATED: this field will be removed in Saleor 4.0. Use root-level channel argument instead.- """- channel: String+ """Specifies the channel in which to sort the data."""+ channel: String @deprecated(reason: "Use root-level channel argument instead.")"""Sort categories by the selected field."""field: CategorySortField!@@ -12442,12 +12382,8 @@ input CollectionFilterInput @doc(category: "Products") {ids: [ID!]slugs: [String!]- """- Specifies the channel by which the data should be filtered.-- DEPRECATED: this field will be removed in Saleor 4.0. Use root-level channel argument instead.- """- channel: String+ """Specifies the channel by which the data should be filtered."""+ channel: String @deprecated(reason: "Use root-level channel argument instead.")}enum CollectionPublished @doc(category: "Products") {@@ -12470,12 +12406,8 @@ input CollectionSortingInput @doc(category: "Products") {"""Specifies the direction in which to sort collections."""direction: OrderDirection!- """- Specifies the channel in which to sort the data.-- DEPRECATED: this field will be removed in Saleor 4.0. Use root-level channel argument instead.- """- channel: String+ """Specifies the channel in which to sort the data."""+ channel: String @deprecated(reason: "Use root-level channel argument instead.")"""Sort collections by the selected field."""field: CollectionSortField!@@ -12607,32 +12539,16 @@ enum PageSortField @doc(category: "Pages") {"""Sort pages by visibility."""VISIBILITY- """- Sort pages by creation date.-- DEPRECATED: this field will be removed in Saleor 4.0.- """+ """Sort pages by creation date."""CREATION_DATE- """- Sort pages by publication date.-- DEPRECATED: this field will be removed in Saleor 4.0.- """+ """Sort pages by publication date."""PUBLICATION_DATE- """- Sort pages by publication date.-- DEPRECATED: this field will be removed in Saleor 4.0.- """+ """Sort pages by publication date."""PUBLISHED_AT- """- Sort pages by creation date.-- DEPRECATED: this field will be removed in Saleor 4.0.- """+ """Sort pages by creation date."""CREATED_AT}@@ -12716,18 +12632,10 @@ enum OrderSortField @doc(category: "Orders") {"""RANK- """- Sort orders by creation date.-- DEPRECATED: this field will be removed in Saleor 4.0.- """+ """Sort orders by creation date."""CREATION_DATE- """- Sort orders by creation date.-- DEPRECATED: this field will be removed in Saleor 4.0.- """+ """Sort orders by creation date."""CREATED_AT"""Sort orders by last modified at."""@@ -13054,12 +12962,8 @@ input SaleSortingInput @doc(category: "Discounts") {"""Specifies the direction in which to sort sales."""direction: OrderDirection!- """- Specifies the channel in which to sort the data.-- DEPRECATED: this field will be removed in Saleor 4.0. Use root-level channel argument instead.- """- channel: String+ """Specifies the channel in which to sort the data."""+ channel: String @deprecated(reason: "Use root-level channel argument instead.")"""Sort sales by the selected field."""field: SaleSortField!@@ -13129,23 +13033,15 @@ input VoucherSortingInput @doc(category: "Discounts") {"""Specifies the direction in which to sort vouchers."""direction: OrderDirection!- """- Specifies the channel in which to sort the data.-- DEPRECATED: this field will be removed in Saleor 4.0. Use root-level channel argument instead.- """- channel: String+ """Specifies the channel in which to sort the data."""+ channel: String @deprecated(reason: "Use root-level channel argument instead.")"""Sort vouchers by the selected field."""field: VoucherSortField!}enum VoucherSortField {- """- Sort vouchers by code.-- DEPRECATED: this field will be removed in Saleor 4.0.- """+ """Sort vouchers by code."""CODE"""@@ -14351,16 +14247,14 @@ type Mutation {): StaffNotificationRecipientDelete @doc(category: "Users")"""- Updates site domain of the shop.-- DEPRECATED: this mutation will be removed in Saleor 4.0. Use `PUBLIC_URL` environment variable instead.+ Updates site domain of the shop.Requires one of the following permissions: MANAGE_SETTINGS."""shopDomainUpdate("""Fields required to update site."""input: SiteDomainInput- ): ShopDomainUpdate @doc(category: "Shop") @deprecated(reason: "\\n\\nDEPRECATED: this mutation will be removed in Saleor 4.0. Use `PUBLIC_URL` environment variable instead.")+ ): ShopDomainUpdate @doc(category: "Shop") @deprecated(reason: "Use `PUBLIC_URL` environment variable instead.")"""Updates shop settings.@@ -14380,7 +14274,7 @@ type Mutation {Requires one of the following permissions: MANAGE_SETTINGS."""- shopFetchTaxRates: ShopFetchTaxRates @doc(category: "Shop") @deprecated(reason: "\\n\\nDEPRECATED: this mutation will be removed in Saleor 4.0.")+ shopFetchTaxRates: ShopFetchTaxRates @doc(category: "Shop") @deprecated"""Creates/updates translations for shop settings.@@ -14413,7 +14307,7 @@ type Mutation {orderSettingsUpdate("""Fields required to update shop order settings."""input: OrderSettingsUpdateInput!- ): OrderSettingsUpdate @doc(category: "Orders") @deprecated(reason: "\\n\\nDEPRECATED: this mutation will be removed in Saleor 4.0. Use `channelUpdate` mutation instead.")+ ): OrderSettingsUpdate @doc(category: "Orders") @deprecated(reason: "Use `channelUpdate` mutation instead.")"""Update gift card settings.@@ -15885,7 +15779,7 @@ type Mutation {draftOrderLinesBulkDelete("""List of order lines IDs to delete."""ids: [ID!]!- ): DraftOrderLinesBulkDelete @doc(category: "Orders") @deprecated(reason: "This field will be removed in Saleor 4.0.")+ ): DraftOrderLinesBulkDelete @doc(category: "Orders") @deprecated"""Updates a draft order.@@ -15904,9 +15798,7 @@ type Mutation {): DraftOrderUpdate @doc(category: "Orders")"""- Adds note to the order.-- DEPRECATED: this mutation will be removed in Saleor 4.0.+ Adds note to the order.Requires one of the following permissions: MANAGE_ORDERS."""@@ -15916,7 +15808,7 @@ type Mutation {"""Fields required to create a note for the order."""input: OrderAddNoteInput!- ): OrderAddNote @doc(category: "Orders") @deprecated(reason: "This field will be removed in Saleor 4.0. Use `orderNoteAdd` instead.")+ ): OrderAddNote @doc(category: "Orders") @deprecated(reason: "Use `orderNoteAdd` instead.")"""Cancel an order.@@ -16747,7 +16639,7 @@ type Mutation {"""The ID of notification plugin."""pluginId: String- ): ExternalNotificationTrigger @deprecated(reason: "\\n\\nDEPRECATED: this mutation will be removed in Saleor 4.0.")+ ): ExternalNotificationTrigger @deprecated"""Creates a new promotion.@@ -16882,9 +16774,7 @@ type Mutation {): PromotionBulkDelete @doc(category: "Discounts") @webhookEventsInfo(asyncEvents: [PROMOTION_DELETED], syncEvents: [])"""- Creates a new sale.-- DEPRECATED: this mutation will be removed in Saleor 4.0. Use `promotionCreate` mutation instead.+ Creates a new sale.Requires one of the following permissions: MANAGE_DISCOUNTS.@@ -16894,12 +16784,10 @@ type Mutation {saleCreate("""Fields required to create a sale."""input: SaleInput!- ): SaleCreate @doc(category: "Discounts") @webhookEventsInfo(asyncEvents: [SALE_CREATED], syncEvents: [])+ ): SaleCreate @doc(category: "Discounts") @webhookEventsInfo(asyncEvents: [SALE_CREATED], syncEvents: []) @deprecated(reason: "Use `promotionCreate` mutation instead.")"""- Deletes a sale.-- DEPRECATED: this mutation will be removed in Saleor 4.0. Use `promotionDelete` mutation instead.+ Deletes a sale.Requires one of the following permissions: MANAGE_DISCOUNTS.@@ -16909,7 +16797,7 @@ type Mutation {saleDelete("""ID of a sale to delete."""id: ID!- ): SaleDelete @doc(category: "Discounts") @webhookEventsInfo(asyncEvents: [SALE_DELETED], syncEvents: [])+ ): SaleDelete @doc(category: "Discounts") @webhookEventsInfo(asyncEvents: [SALE_DELETED], syncEvents: []) @deprecated(reason: "Use `promotionDelete` mutation instead.")"""Deletes sales.@@ -16925,9 +16813,7 @@ type Mutation {): SaleBulkDelete @doc(category: "Discounts") @webhookEventsInfo(asyncEvents: [SALE_DELETED], syncEvents: [])"""- Updates a sale.-- DEPRECATED: this mutation will be removed in Saleor 4.0. Use `promotionUpdate` mutation instead.+ Updates a sale.Requires one of the following permissions: MANAGE_DISCOUNTS.@@ -16941,12 +16827,10 @@ type Mutation {"""Fields required to update a sale."""input: SaleInput!- ): SaleUpdate @doc(category: "Discounts") @webhookEventsInfo(asyncEvents: [SALE_UPDATED, SALE_TOGGLE], syncEvents: [])+ ): SaleUpdate @doc(category: "Discounts") @webhookEventsInfo(asyncEvents: [SALE_UPDATED, SALE_TOGGLE], syncEvents: []) @deprecated(reason: "Use `promotionUpdate` mutation instead.")"""- Adds products, categories, collections to a sale.-- DEPRECATED: this mutation will be removed in Saleor 4.0. Use `promotionRuleCreate` mutation instead.+ Adds products, categories, collections to a sale.Requires one of the following permissions: MANAGE_DISCOUNTS.@@ -16959,12 +16843,10 @@ type Mutation {"""Fields required to modify catalogue IDs of sale."""input: CatalogueInput!- ): SaleAddCatalogues @doc(category: "Discounts") @webhookEventsInfo(asyncEvents: [SALE_UPDATED], syncEvents: [])+ ): SaleAddCatalogues @doc(category: "Discounts") @webhookEventsInfo(asyncEvents: [SALE_UPDATED], syncEvents: []) @deprecated(reason: "Use `promotionRuleCreate` and `promotionRuleUpdate` mutations instead.")"""- Removes products, categories, collections from a sale.-- DEPRECATED: this mutation will be removed in Saleor 4.0. Use `promotionRuleUpdate` or `promotionRuleDelete` mutations instead.+ Removes products, categories, collections from a sale.Requires one of the following permissions: MANAGE_DISCOUNTS.@@ -16977,12 +16859,10 @@ type Mutation {"""Fields required to modify catalogue IDs of sale."""input: CatalogueInput!- ): SaleRemoveCatalogues @doc(category: "Discounts") @webhookEventsInfo(asyncEvents: [SALE_UPDATED], syncEvents: [])+ ): SaleRemoveCatalogues @doc(category: "Discounts") @webhookEventsInfo(asyncEvents: [SALE_UPDATED], syncEvents: []) @deprecated(reason: "Use `promotionRuleUpdate` and `promotionRuleDelete` mutations instead.")"""- Creates/updates translations for a sale.-- DEPRECATED: this mutation will be removed in Saleor 4.0. Use `PromotionTranslate` mutation instead.+ Creates/updates translations for a sale.Requires one of the following permissions: MANAGE_TRANSLATIONS."""@@ -16995,12 +16875,10 @@ type Mutation {"""Translation language code."""languageCode: LanguageCodeEnum!- ): SaleTranslate @doc(category: "Discounts")+ ): SaleTranslate @doc(category: "Discounts") @deprecated(reason: "Use `promotionTranslate` mutation instead.")"""- Manage sale's availability in channels.-- DEPRECATED: this mutation will be removed in Saleor 4.0. Use `promotionRuleCreate` or `promotionRuleUpdate` mutations instead.+ Manage sale's availability in channels.Requires one of the following permissions: MANAGE_DISCOUNTS."""@@ -17010,7 +16888,7 @@ type Mutation {"""Fields required to update sale channel listings."""input: SaleChannelListingInput!- ): SaleChannelListingUpdate @doc(category: "Discounts")+ ): SaleChannelListingUpdate @doc(category: "Discounts") @deprecated(reason: "Use `promotionRuleUpdate` mutation instead.")"""Creates a new voucher.@@ -17210,12 +17088,8 @@ type Mutation {- CHECKOUT_UPDATED (async): A checkout was updated."""checkoutAddPromoCode(- """- The ID of the checkout.-- DEPRECATED: this field will be removed in Saleor 4.0. Use `id` instead.- """- checkoutId: ID+ """The ID of the checkout."""+ checkoutId: ID @deprecated(reason: "Use `id` instead.")"""The checkout's ID."""id: ID@@ -17223,12 +17097,8 @@ type Mutation {"""Gift card code or voucher code."""promoCode: String!- """- Checkout token.-- DEPRECATED: this field will be removed in Saleor 4.0. Use `id` instead.- """- token: UUID+ """Checkout token."""+ token: UUID @deprecated(reason: "Use `id` instead.")): CheckoutAddPromoCode @doc(category: "Checkout") @webhookEventsInfo(asyncEvents: [CHECKOUT_UPDATED], syncEvents: [])"""@@ -17241,12 +17111,8 @@ type Mutation {"""The billing address of the checkout."""billingAddress: AddressInput!- """- The ID of the checkout.-- DEPRECATED: this field will be removed in Saleor 4.0. Use `id` instead.- """- checkoutId: ID+ """The ID of the checkout."""+ checkoutId: ID @deprecated(reason: "Use `id` instead.")"""The checkout's ID."""id: ID@@ -17258,12 +17124,8 @@ type Mutation {"""saveAddress: Boolean = true- """- Checkout token.-- DEPRECATED: this field will be removed in Saleor 4.0. Use `id` instead.- """- token: UUID+ """Checkout token."""+ token: UUID @deprecated(reason: "Use `id` instead.")"""The rules for changing validation for received billing address data."""validationRules: CheckoutAddressValidationRules@@ -17285,12 +17147,8 @@ type Mutation {- ORDER_CONFIRMED (async): Optionally triggered when newly created order are automatically marked as confirmed."""checkoutComplete(- """- The ID of the checkout.-- DEPRECATED: this field will be removed in Saleor 4.0. Use `id` instead.- """- checkoutId: ID+ """The ID of the checkout."""+ checkoutId: ID @deprecated(reason: "Use `id` instead.")"""The checkout's ID."""id: ID@@ -17306,19 +17164,11 @@ type Mutation {"""redirectUrl: String- """- Determines whether to store the payment source for future usage.-- DEPRECATED: this field will be removed in Saleor 4.0. Use checkoutPaymentCreate for this action.- """- storeSource: Boolean = false+ """Determines whether to store the payment source for future usage."""+ storeSource: Boolean = false @deprecated(reason: "Use checkoutPaymentCreate for this action.")- """- Checkout token.-- DEPRECATED: this field will be removed in Saleor 4.0. Use `id` instead.- """- token: UUID+ """Checkout token."""+ token: UUID @deprecated(reason: "Use `id` instead.")): CheckoutComplete @doc(category: "Checkout") @webhookEventsInfo(asyncEvents: [ORDER_CREATED, NOTIFY_USER, NOTIFY_USER, ORDER_UPDATED, ORDER_PAID, ORDER_FULLY_PAID, ORDER_CONFIRMED], syncEvents: [SHIPPING_LIST_METHODS_FOR_CHECKOUT, CHECKOUT_FILTER_SHIPPING_METHODS, CHECKOUT_CALCULATE_TAXES])"""@@ -17349,12 +17199,8 @@ type Mutation {- CHECKOUT_UPDATED (async): A checkout was updated."""checkoutCustomerAttach(- """- The ID of the checkout.-- DEPRECATED: this field will be removed in Saleor 4.0. Use `id` instead.- """- checkoutId: ID+ """The ID of the checkout."""+ checkoutId: ID @deprecated(reason: "Use `id` instead.")"""ID of customer to attach to checkout. Requires IMPERSONATE_USER permission when customerId is different than the logged-in user.@@ -17364,12 +17210,8 @@ type Mutation {"""The checkout's ID."""id: ID- """- Checkout token.-- DEPRECATED: this field will be removed in Saleor 4.0. Use `id` instead.- """- token: UUID+ """Checkout token."""+ token: UUID @deprecated(reason: "Use `id` instead.")): CheckoutCustomerAttach @doc(category: "Checkout") @webhookEventsInfo(asyncEvents: [CHECKOUT_UPDATED], syncEvents: [])"""@@ -17381,22 +17223,14 @@ type Mutation {- CHECKOUT_UPDATED (async): A checkout was updated."""checkoutCustomerDetach(- """- The ID of the checkout.-- DEPRECATED: this field will be removed in Saleor 4.0. Use `id` instead.- """- checkoutId: ID+ """The ID of the checkout."""+ checkoutId: ID @deprecated(reason: "Use `id` instead.")"""The checkout's ID."""id: ID- """- Checkout token.-- DEPRECATED: this field will be removed in Saleor 4.0. Use `id` instead.- """- token: UUID+ """Checkout token."""+ token: UUID @deprecated(reason: "Use `id` instead.")): CheckoutCustomerDetach @doc(category: "Checkout") @webhookEventsInfo(asyncEvents: [CHECKOUT_UPDATED], syncEvents: [])"""@@ -17422,12 +17256,8 @@ type Mutation {- CHECKOUT_UPDATED (async): A checkout was updated."""checkoutEmailUpdate(- """- The ID of the checkout.-- DEPRECATED: this field will be removed in Saleor 4.0. Use `id` instead.- """- checkoutId: ID+ """The ID of the checkout."""+ checkoutId: ID @deprecated(reason: "Use `id` instead.")"""email."""email: String!@@ -17435,12 +17265,8 @@ type Mutation {"""The checkout's ID."""id: ID- """- Checkout token.-- DEPRECATED: this field will be removed in Saleor 4.0. Use `id` instead.- """- token: UUID+ """Checkout token."""+ token: UUID @deprecated(reason: "Use `id` instead.")): CheckoutEmailUpdate @doc(category: "Checkout") @webhookEventsInfo(asyncEvents: [CHECKOUT_UPDATED], syncEvents: [])"""@@ -17450,12 +17276,8 @@ type Mutation {- CHECKOUT_UPDATED (async): A checkout was updated."""checkoutLineDelete(- """- The ID of the checkout.-- DEPRECATED: this field will be removed in Saleor 4.0. Use `id` instead.- """- checkoutId: ID+ """The ID of the checkout."""+ checkoutId: ID @deprecated(reason: "Use `id` instead.")"""The checkout's ID."""id: ID@@ -17463,13 +17285,9 @@ type Mutation {"""ID of the checkout line to delete."""lineId: ID- """- Checkout token.-- DEPRECATED: this field will be removed in Saleor 4.0. Use `id` instead.- """- token: UUID- ): CheckoutLineDelete @doc(category: "Checkout") @webhookEventsInfo(asyncEvents: [CHECKOUT_UPDATED], syncEvents: []) @deprecated(reason: "This field will be removed in Saleor 4.0. Use `checkoutLinesDelete` instead.")+ """Checkout token."""+ token: UUID @deprecated(reason: "Use `id` instead.")+ ): CheckoutLineDelete @doc(category: "Checkout") @webhookEventsInfo(asyncEvents: [CHECKOUT_UPDATED], syncEvents: []) @deprecated(reason: "Use `checkoutLinesDelete` instead.")"""Deletes checkout lines.@@ -17484,12 +17302,8 @@ type Mutation {"""A list of checkout lines."""linesIds: [ID!]!- """- Checkout token.-- DEPRECATED: this field will be removed in Saleor 4.0. Use `id` instead.- """- token: UUID+ """Checkout token."""+ token: UUID @deprecated(reason: "Use `id` instead.")): CheckoutLinesDelete @doc(category: "Checkout") @webhookEventsInfo(asyncEvents: [CHECKOUT_UPDATED], syncEvents: [])"""@@ -17499,12 +17313,8 @@ type Mutation {- CHECKOUT_UPDATED (async): A checkout was updated."""checkoutLinesAdd(- """- The ID of the checkout.-- DEPRECATED: this field will be removed in Saleor 4.0. Use `id` instead.- """- checkoutId: ID+ """The ID of the checkout."""+ checkoutId: ID @deprecated(reason: "Use `id` instead.")"""The checkout's ID."""id: ID@@ -17514,12 +17324,8 @@ type Mutation {"""lines: [CheckoutLineInput!]!- """- Checkout token.-- DEPRECATED: this field will be removed in Saleor 4.0. Use `id` instead.- """- token: UUID+ """Checkout token."""+ token: UUID @deprecated(reason: "Use `id` instead.")): CheckoutLinesAdd @doc(category: "Checkout") @webhookEventsInfo(asyncEvents: [CHECKOUT_UPDATED], syncEvents: [])"""@@ -17529,12 +17335,8 @@ type Mutation {- CHECKOUT_UPDATED (async): A checkout was updated."""checkoutLinesUpdate(- """- The ID of the checkout.-- DEPRECATED: this field will be removed in Saleor 4.0. Use `id` instead.- """- checkoutId: ID+ """The ID of the checkout."""+ checkoutId: ID @deprecated(reason: "Use `id` instead.")"""The checkout's ID."""id: ID@@ -17544,12 +17346,8 @@ type Mutation {"""lines: [CheckoutLineUpdateInput!]!- """- Checkout token.-- DEPRECATED: this field will be removed in Saleor 4.0. Use `id` instead.- """- token: UUID+ """Checkout token."""+ token: UUID @deprecated(reason: "Use `id` instead.")): CheckoutLinesUpdate @doc(category: "Checkout") @webhookEventsInfo(asyncEvents: [CHECKOUT_UPDATED], syncEvents: [])"""@@ -17559,12 +17357,8 @@ type Mutation {- CHECKOUT_UPDATED (async): A checkout was updated."""checkoutRemovePromoCode(- """- The ID of the checkout.-- DEPRECATED: this field will be removed in Saleor 4.0. Use `id` instead.- """- checkoutId: ID+ """The ID of the checkout."""+ checkoutId: ID @deprecated(reason: "Use `id` instead.")"""The checkout's ID."""id: ID@@ -17575,22 +17369,14 @@ type Mutation {"""Gift card or voucher ID."""promoCodeId: ID- """- Checkout token.-- DEPRECATED: this field will be removed in Saleor 4.0. Use `id` instead.- """- token: UUID+ """Checkout token."""+ token: UUID @deprecated(reason: "Use `id` instead.")): CheckoutRemovePromoCode @doc(category: "Checkout") @webhookEventsInfo(asyncEvents: [CHECKOUT_UPDATED], syncEvents: [])"""Create a new payment for given checkout."""checkoutPaymentCreate(- """- The ID of the checkout.-- DEPRECATED: this field will be removed in Saleor 4.0. Use `id` instead.- """- checkoutId: ID+ """The ID of the checkout."""+ checkoutId: ID @deprecated(reason: "Use `id` instead.")"""The checkout's ID."""id: ID@@ -17598,12 +17384,8 @@ type Mutation {"""Data required to create a new payment."""input: PaymentInput!- """- Checkout token.-- DEPRECATED: this field will be removed in Saleor 4.0. Use `id` instead.- """- token: UUID+ """Checkout token."""+ token: UUID @deprecated(reason: "Use `id` instead.")): CheckoutPaymentCreate @doc(category: "Checkout")"""@@ -17613,12 +17395,8 @@ type Mutation {- CHECKOUT_UPDATED (async): A checkout was updated."""checkoutShippingAddressUpdate(- """- The ID of the checkout.-- DEPRECATED: this field will be removed in Saleor 4.0. Use `id` instead.- """- checkoutId: ID+ """The ID of the checkout."""+ checkoutId: ID @deprecated(reason: "Use `id` instead.")"""The checkout's ID."""id: ID@@ -17633,12 +17411,8 @@ type Mutation {"""The mailing address to where the checkout will be shipped."""shippingAddress: AddressInput!- """- Checkout token.-- DEPRECATED: this field will be removed in Saleor 4.0. Use `id` instead.- """- token: UUID+ """Checkout token."""+ token: UUID @deprecated(reason: "Use `id` instead.")"""The rules for changing validation for received shipping address data."""validationRules: CheckoutAddressValidationRules@@ -17652,12 +17426,8 @@ type Mutation {- CHECKOUT_UPDATED (async): A checkout was updated."""checkoutShippingMethodUpdate(- """- The ID of the checkout.-- DEPRECATED: this field will be removed in Saleor 4.0. Use `id` instead.- """- checkoutId: ID+ """The ID of the checkout."""+ checkoutId: ID @deprecated(reason: "Use `id` instead.")"""The checkout's ID."""id: ID@@ -17665,13 +17435,9 @@ type Mutation {"""Shipping method."""shippingMethodId: ID- """- Checkout token.-- DEPRECATED: this field will be removed in Saleor 4.0. Use `id` instead.- """- token: UUID- ): CheckoutShippingMethodUpdate @doc(category: "Checkout") @webhookEventsInfo(asyncEvents: [CHECKOUT_UPDATED], syncEvents: [SHIPPING_LIST_METHODS_FOR_CHECKOUT]) @deprecated(reason: "This field will be removed in Saleor 4.0. Use `checkoutDeliveryMethodUpdate` instead.")+ """Checkout token."""+ token: UUID @deprecated(reason: "Use `id` instead.")+ ): CheckoutShippingMethodUpdate @doc(category: "Checkout") @webhookEventsInfo(asyncEvents: [CHECKOUT_UPDATED], syncEvents: [SHIPPING_LIST_METHODS_FOR_CHECKOUT]) @deprecated(reason: "Use `checkoutDeliveryMethodUpdate` instead.")"""Updates the delivery method (shipping method or pick up point) of the checkout. Updates the checkout shipping_address for click and collect delivery for a warehouse address.@@ -17687,12 +17453,8 @@ type Mutation {"""The checkout's ID."""id: ID- """- Checkout token.-- DEPRECATED: this field will be removed in Saleor 4.0. Use `id` instead.- """- token: UUID+ """Checkout token."""+ token: UUID @deprecated(reason: "Use `id` instead.")): CheckoutDeliveryMethodUpdate @doc(category: "Checkout") @webhookEventsInfo(asyncEvents: [CHECKOUT_UPDATED], syncEvents: [SHIPPING_LIST_METHODS_FOR_CHECKOUT])"""@@ -17702,12 +17464,8 @@ type Mutation {- CHECKOUT_UPDATED (async): A checkout was updated."""checkoutLanguageCodeUpdate(- """- The ID of the checkout.-- DEPRECATED: this field will be removed in Saleor 4.0. Use `id` instead.- """- checkoutId: ID+ """The ID of the checkout."""+ checkoutId: ID @deprecated(reason: "Use `id` instead.")"""The checkout's ID."""id: ID@@ -17715,12 +17473,8 @@ type Mutation {"""New language code."""languageCode: LanguageCodeEnum!- """- Checkout token.-- DEPRECATED: this field will be removed in Saleor 4.0. Use `id` instead.- """- token: UUID+ """Checkout token."""+ token: UUID @deprecated(reason: "Use `id` instead.")): CheckoutLanguageCodeUpdate @doc(category: "Checkout") @webhookEventsInfo(asyncEvents: [CHECKOUT_UPDATED], syncEvents: [])"""@@ -18852,7 +18606,7 @@ Creates a new webhook subscription.Requires one of the following permissions: MANAGE_APPS, AUTHENTICATED_APP."""type WebhookCreate @doc(category: "Webhooks") {- webhookErrors: [WebhookError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ webhookErrors: [WebhookError!]! @deprecated(reason: "Use `errors` field instead.")errors: [WebhookError!]!webhook: Webhook}@@ -18892,12 +18646,8 @@ input WebhookCreateInput @doc(category: "Webhooks") {"""The url to receive the payload."""targetUrl: String- """- The events that webhook wants to subscribe.-- DEPRECATED: this field will be removed in Saleor 4.0. Use `asyncEvents` or `syncEvents` instead.- """- events: [WebhookEventTypeEnum!]+ """The events that webhook wants to subscribe."""+ events: [WebhookEventTypeEnum!] @deprecated(reason: "Use `asyncEvents` or `syncEvents` instead.")"""The asynchronous events that webhook wants to subscribe."""asyncEvents: [WebhookEventTypeAsyncEnum!]@@ -18911,12 +18661,8 @@ input WebhookCreateInput @doc(category: "Webhooks") {"""Determine if webhook will be set active or not."""isActive: Boolean- """- The secret key used to create a hash signature with each payload.-- DEPRECATED: this field will be removed in Saleor 4.0. As of Saleor 3.5, webhook payloads default to signing using a verifiable JWS.- """- secretKey: String+ """The secret key used to create a hash signature with each payload."""+ secretKey: String @deprecated(reason: "As of Saleor 3.5, webhook payloads default to signing using a verifiable JWS.")"""Subscription query used to define a webhook payload."""query: String@@ -18933,7 +18679,7 @@ Delete a webhook. Before the deletion, the webhook is deactivated to pause any dRequires one of the following permissions: MANAGE_APPS, AUTHENTICATED_APP."""type WebhookDelete @doc(category: "Webhooks") {- webhookErrors: [WebhookError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ webhookErrors: [WebhookError!]! @deprecated(reason: "Use `errors` field instead.")errors: [WebhookError!]!webhook: Webhook}@@ -18944,7 +18690,7 @@ Updates a webhook subscription.Requires one of the following permissions: MANAGE_APPS, AUTHENTICATED_APP."""type WebhookUpdate @doc(category: "Webhooks") {- webhookErrors: [WebhookError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ webhookErrors: [WebhookError!]! @deprecated(reason: "Use `errors` field instead.")errors: [WebhookError!]!webhook: Webhook}@@ -18956,12 +18702,8 @@ input WebhookUpdateInput @doc(category: "Webhooks") {"""The url to receive the payload."""targetUrl: String- """- The events that webhook wants to subscribe.-- DEPRECATED: this field will be removed in Saleor 4.0. Use `asyncEvents` or `syncEvents` instead.- """- events: [WebhookEventTypeEnum!]+ """The events that webhook wants to subscribe."""+ events: [WebhookEventTypeEnum!] @deprecated(reason: "Use `asyncEvents` or `syncEvents` instead.")"""The asynchronous events that webhook wants to subscribe."""asyncEvents: [WebhookEventTypeAsyncEnum!]@@ -18975,12 +18717,8 @@ input WebhookUpdateInput @doc(category: "Webhooks") {"""Determine if webhook will be set active or not."""isActive: Boolean- """- Use to create a hash signature with each payload.-- DEPRECATED: this field will be removed in Saleor 4.0. As of Saleor 3.5, webhook payloads default to signing using a verifiable JWS.- """- secretKey: String+ """Use to create a hash signature with each payload."""+ secretKey: String @deprecated(reason: "As of Saleor 3.5, webhook payloads default to signing using a verifiable JWS.")"""Subscription query used to define a webhook payload."""query: String@@ -19080,7 +18818,7 @@ Creates new warehouse.Requires one of the following permissions: MANAGE_PRODUCTS."""type WarehouseCreate @doc(category: "Products") {- warehouseErrors: [WarehouseError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ warehouseErrors: [WarehouseError!]! @deprecated(reason: "Use `errors` field instead.")errors: [WarehouseError!]!warehouse: Warehouse}@@ -19126,12 +18864,8 @@ input WarehouseCreateInput @doc(category: "Products") {"""Address of the warehouse."""address: AddressInput!- """- Shipping zones supported by the warehouse.-- DEPRECATED: this field will be removed in Saleor 4.0. Providing the zone ids will raise a ValidationError.- """- shippingZones: [ID!]+ """Shipping zones supported by the warehouse."""+ shippingZones: [ID!] @deprecated(reason: "Providing the zone ids will raise a ValidationError.")}"""@@ -19140,7 +18874,7 @@ Updates given warehouse.Requires one of the following permissions: MANAGE_PRODUCTS."""type WarehouseUpdate @doc(category: "Products") {- warehouseErrors: [WarehouseError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ warehouseErrors: [WarehouseError!]! @deprecated(reason: "Use `errors` field instead.")errors: [WarehouseError!]!warehouse: Warehouse}@@ -19174,7 +18908,7 @@ Deletes selected warehouse.Requires one of the following permissions: MANAGE_PRODUCTS."""type WarehouseDelete @doc(category: "Products") {- warehouseErrors: [WarehouseError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ warehouseErrors: [WarehouseError!]! @deprecated(reason: "Use `errors` field instead.")errors: [WarehouseError!]!warehouse: Warehouse}@@ -19185,7 +18919,7 @@ Add shipping zone to given warehouse.Requires one of the following permissions: MANAGE_PRODUCTS."""type WarehouseShippingZoneAssign @doc(category: "Products") {- warehouseErrors: [WarehouseError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ warehouseErrors: [WarehouseError!]! @deprecated(reason: "Use `errors` field instead.")errors: [WarehouseError!]!warehouse: Warehouse}@@ -19196,7 +18930,7 @@ Remove shipping zone from given warehouse.Requires one of the following permissions: MANAGE_PRODUCTS."""type WarehouseShippingZoneUnassign @doc(category: "Products") {- warehouseErrors: [WarehouseError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ warehouseErrors: [WarehouseError!]! @deprecated(reason: "Use `errors` field instead.")errors: [WarehouseError!]!warehouse: Warehouse}@@ -19613,7 +19347,7 @@ Creates a new staff notification recipient.Requires one of the following permissions: MANAGE_SETTINGS."""type StaffNotificationRecipientCreate @doc(category: "Users") {- shopErrors: [ShopError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ shopErrors: [ShopError!]! @deprecated(reason: "Use `errors` field instead.")errors: [ShopError!]!staffNotificationRecipient: StaffNotificationRecipient}@@ -19658,7 +19392,7 @@ Updates a staff notification recipient.Requires one of the following permissions: MANAGE_SETTINGS."""type StaffNotificationRecipientUpdate @doc(category: "Users") {- shopErrors: [ShopError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ shopErrors: [ShopError!]! @deprecated(reason: "Use `errors` field instead.")errors: [ShopError!]!staffNotificationRecipient: StaffNotificationRecipient}@@ -19669,22 +19403,20 @@ Delete staff notification recipient.Requires one of the following permissions: MANAGE_SETTINGS."""type StaffNotificationRecipientDelete @doc(category: "Users") {- shopErrors: [ShopError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ shopErrors: [ShopError!]! @deprecated(reason: "Use `errors` field instead.")errors: [ShopError!]!staffNotificationRecipient: StaffNotificationRecipient}"""-Updates site domain of the shop.--DEPRECATED: this mutation will be removed in Saleor 4.0. Use `PUBLIC_URL` environment variable instead.+Updates site domain of the shop.Requires one of the following permissions: MANAGE_SETTINGS."""type ShopDomainUpdate @doc(category: "Shop") {"""Updated shop."""shop: Shop- shopErrors: [ShopError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ shopErrors: [ShopError!]! @deprecated(reason: "Use `errors` field instead.")errors: [ShopError!]!}@@ -19707,7 +19439,7 @@ Triggers the following webhook events:type ShopSettingsUpdate @doc(category: "Shop") @webhookEventsInfo(asyncEvents: [SHOP_METADATA_UPDATED], syncEvents: []) {"""Updated shop."""shop: Shop- shopErrors: [ShopError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ shopErrors: [ShopError!]! @deprecated(reason: "Use `errors` field instead.")errors: [ShopError!]!}@@ -19777,26 +19509,14 @@ input ShopSettingsInput {"""Shop private metadata."""privateMetadata: [MetadataInput!]- """- Include taxes in prices.-- DEPRECATED: this field will be removed in Saleor 4.0. Use `taxConfigurationUpdate` mutation to configure this setting per channel or country.- """- includeTaxesInPrices: Boolean+ """Include taxes in prices."""+ includeTaxesInPrices: Boolean @deprecated(reason: "Use `taxConfigurationUpdate` mutation to configure this setting per channel or country.")- """- Display prices with tax in store.-- DEPRECATED: this field will be removed in Saleor 4.0. Use `taxConfigurationUpdate` mutation to configure this setting per channel or country.- """- displayGrossPrices: Boolean+ """Display prices with tax in store."""+ displayGrossPrices: Boolean @deprecated(reason: "Use `taxConfigurationUpdate` mutation to configure this setting per channel or country.")- """- Charge taxes on shipping.-- DEPRECATED: this field will be removed in Saleor 4.0. To enable taxes for a shipping method, assign a tax class to the shipping method with `shippingPriceCreate` or `shippingPriceUpdate` mutations.- """- chargeTaxesOnShipping: Boolean+ """Charge taxes on shipping."""+ chargeTaxesOnShipping: Boolean @deprecated(reason: "To enable taxes for a shipping method, assign a tax class to the shipping method with `shippingPriceCreate` or `shippingPriceUpdate` mutations.")}"""@@ -19807,7 +19527,7 @@ Requires one of the following permissions: MANAGE_SETTINGS.type ShopFetchTaxRates @doc(category: "Shop") {"""Updated shop."""shop: Shop- shopErrors: [ShopError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ shopErrors: [ShopError!]! @deprecated(reason: "Use `errors` field instead.")errors: [ShopError!]!}@@ -19819,7 +19539,7 @@ Requires one of the following permissions: MANAGE_TRANSLATIONS.type ShopSettingsTranslate @doc(category: "Shop") {"""Updated shop settings."""shop: Shop- translationErrors: [TranslationError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ translationErrors: [TranslationError!]! @deprecated(reason: "Use `errors` field instead.")errors: [TranslationError!]!}@@ -19857,7 +19577,7 @@ Requires one of the following permissions: MANAGE_SETTINGS.type ShopAddressUpdate @doc(category: "Shop") {"""Updated shop."""shop: Shop- shopErrors: [ShopError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ shopErrors: [ShopError!]! @deprecated(reason: "Use `errors` field instead.")errors: [ShopError!]!}@@ -19869,7 +19589,7 @@ Requires one of the following permissions: MANAGE_ORDERS.type OrderSettingsUpdate @doc(category: "Orders") {"""Order settings."""orderSettings: OrderSettings- orderSettingsErrors: [OrderSettingsError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ orderSettingsErrors: [OrderSettingsError!]! @deprecated(reason: "Use `errors` field instead.")errors: [OrderSettingsError!]!}@@ -19956,7 +19676,7 @@ Requires one of the following permissions: MANAGE_SHIPPING.type ShippingMethodChannelListingUpdate @doc(category: "Shipping") {"""An updated shipping method instance."""shippingMethod: ShippingMethodType- shippingErrors: [ShippingError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ shippingErrors: [ShippingError!]! @deprecated(reason: "Use `errors` field instead.")errors: [ShippingError!]!}@@ -20021,7 +19741,7 @@ type ShippingPriceCreate @doc(category: "Shipping") {"""A shipping zone to which the shipping method belongs."""shippingZone: ShippingZoneshippingMethod: ShippingMethodType- shippingErrors: [ShippingError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ shippingErrors: [ShippingError!]! @deprecated(reason: "Use `errors` field instead.")errors: [ShippingError!]!}@@ -20086,7 +19806,7 @@ type ShippingPriceDelete @doc(category: "Shipping") {"""A shipping zone to which the shipping method belongs."""shippingZone: ShippingZone- shippingErrors: [ShippingError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ shippingErrors: [ShippingError!]! @deprecated(reason: "Use `errors` field instead.")errors: [ShippingError!]!}@@ -20098,7 +19818,7 @@ Requires one of the following permissions: MANAGE_SHIPPING.type ShippingPriceBulkDelete @doc(category: "Shipping") {"""Returns how many objects were affected."""count: Int!- shippingErrors: [ShippingError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ shippingErrors: [ShippingError!]! @deprecated(reason: "Use `errors` field instead.")errors: [ShippingError!]!}@@ -20111,7 +19831,7 @@ type ShippingPriceUpdate @doc(category: "Shipping") {"""A shipping zone to which the shipping method belongs."""shippingZone: ShippingZoneshippingMethod: ShippingMethodType- shippingErrors: [ShippingError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ shippingErrors: [ShippingError!]! @deprecated(reason: "Use `errors` field instead.")errors: [ShippingError!]!}@@ -20121,7 +19841,7 @@ Creates/updates translations for a shipping method.Requires one of the following permissions: MANAGE_TRANSLATIONS."""type ShippingPriceTranslate @doc(category: "Shipping") {- translationErrors: [TranslationError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ translationErrors: [TranslationError!]! @deprecated(reason: "Use `errors` field instead.")errors: [TranslationError!]!shippingMethod: ShippingMethodType}@@ -20145,7 +19865,7 @@ Requires one of the following permissions: MANAGE_SHIPPING.type ShippingPriceExcludeProducts @doc(category: "Shipping") {"""A shipping method with new list of excluded products."""shippingMethod: ShippingMethodType- shippingErrors: [ShippingError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ shippingErrors: [ShippingError!]! @deprecated(reason: "Use `errors` field instead.")errors: [ShippingError!]!}@@ -20162,7 +19882,7 @@ Requires one of the following permissions: MANAGE_SHIPPING.type ShippingPriceRemoveProductFromExclude @doc(category: "Shipping") {"""A shipping method with new list of excluded products."""shippingMethod: ShippingMethodType- shippingErrors: [ShippingError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ shippingErrors: [ShippingError!]! @deprecated(reason: "Use `errors` field instead.")errors: [ShippingError!]!}@@ -20172,7 +19892,7 @@ Creates a new shipping zone.Requires one of the following permissions: MANAGE_SHIPPING."""type ShippingZoneCreate @doc(category: "Shipping") {- shippingErrors: [ShippingError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ shippingErrors: [ShippingError!]! @deprecated(reason: "Use `errors` field instead.")errors: [ShippingError!]!shippingZone: ShippingZone}@@ -20205,7 +19925,7 @@ Deletes a shipping zone.Requires one of the following permissions: MANAGE_SHIPPING."""type ShippingZoneDelete @doc(category: "Shipping") {- shippingErrors: [ShippingError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ shippingErrors: [ShippingError!]! @deprecated(reason: "Use `errors` field instead.")errors: [ShippingError!]!shippingZone: ShippingZone}@@ -20218,7 +19938,7 @@ Requires one of the following permissions: MANAGE_SHIPPING.type ShippingZoneBulkDelete @doc(category: "Shipping") {"""Returns how many objects were affected."""count: Int!- shippingErrors: [ShippingError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ shippingErrors: [ShippingError!]! @deprecated(reason: "Use `errors` field instead.")errors: [ShippingError!]!}@@ -20228,7 +19948,7 @@ Updates a new shipping zone.Requires one of the following permissions: MANAGE_SHIPPING."""type ShippingZoneUpdate @doc(category: "Shipping") {- shippingErrors: [ShippingError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ shippingErrors: [ShippingError!]! @deprecated(reason: "Use `errors` field instead.")errors: [ShippingError!]!shippingZone: ShippingZone}@@ -20269,7 +19989,7 @@ Requires one of the following permissions: MANAGE_PRODUCT_TYPES_AND_ATTRIBUTES.type ProductAttributeAssign @doc(category: "Products") {"""The updated product type."""productType: ProductType- productErrors: [ProductError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ productErrors: [ProductError!]! @deprecated(reason: "Use `errors` field instead.")errors: [ProductError!]!}@@ -20341,7 +20061,7 @@ Requires one of the following permissions: MANAGE_PRODUCT_TYPES_AND_ATTRIBUTES.type ProductAttributeAssignmentUpdate @doc(category: "Products") {"""The updated product type."""productType: ProductType- productErrors: [ProductError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ productErrors: [ProductError!]! @deprecated(reason: "Use `errors` field instead.")errors: [ProductError!]!}@@ -20363,7 +20083,7 @@ Requires one of the following permissions: MANAGE_PRODUCT_TYPES_AND_ATTRIBUTES.type ProductAttributeUnassign @doc(category: "Products") {"""The updated product type."""productType: ProductType- productErrors: [ProductError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ productErrors: [ProductError!]! @deprecated(reason: "Use `errors` field instead.")errors: [ProductError!]!}@@ -20373,7 +20093,7 @@ Creates a new category.Requires one of the following permissions: MANAGE_PRODUCTS."""type CategoryCreate @doc(category: "Products") {- productErrors: [ProductError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ productErrors: [ProductError!]! @deprecated(reason: "Use `errors` field instead.")errors: [ProductError!]!category: Category}@@ -20427,7 +20147,7 @@ Deletes a category.Requires one of the following permissions: MANAGE_PRODUCTS."""type CategoryDelete @doc(category: "Products") {- productErrors: [ProductError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ productErrors: [ProductError!]! @deprecated(reason: "Use `errors` field instead.")errors: [ProductError!]!category: Category}@@ -20440,7 +20160,7 @@ Requires one of the following permissions: MANAGE_PRODUCTS.type CategoryBulkDelete @doc(category: "Products") {"""Returns how many objects were affected."""count: Int!- productErrors: [ProductError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ productErrors: [ProductError!]! @deprecated(reason: "Use `errors` field instead.")errors: [ProductError!]!}@@ -20450,7 +20170,7 @@ Updates a category.Requires one of the following permissions: MANAGE_PRODUCTS."""type CategoryUpdate @doc(category: "Products") {- productErrors: [ProductError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ productErrors: [ProductError!]! @deprecated(reason: "Use `errors` field instead.")errors: [ProductError!]!category: Category}@@ -20461,7 +20181,7 @@ Creates/updates translations for a category.Requires one of the following permissions: MANAGE_TRANSLATIONS."""type CategoryTranslate @doc(category: "Products") {- translationErrors: [TranslationError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ translationErrors: [TranslationError!]! @deprecated(reason: "Use `errors` field instead.")errors: [TranslationError!]!category: Category}@@ -20488,7 +20208,7 @@ Requires one of the following permissions: MANAGE_PRODUCTS.type CollectionAddProducts @doc(category: "Products") {"""Collection to which products will be added."""collection: Collection- collectionErrors: [CollectionError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ collectionErrors: [CollectionError!]! @deprecated(reason: "Use `errors` field instead.")errors: [CollectionError!]!}@@ -20524,7 +20244,7 @@ Creates a new collection.Requires one of the following permissions: MANAGE_PRODUCTS."""type CollectionCreate @doc(category: "Products") {- collectionErrors: [CollectionError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ collectionErrors: [CollectionError!]! @deprecated(reason: "Use `errors` field instead.")errors: [CollectionError!]!collection: Collection}@@ -20555,12 +20275,8 @@ input CollectionCreateInput @doc(category: "Products") {"""Search engine optimization fields."""seo: SeoInput- """- Publication date. ISO 8601 standard.-- DEPRECATED: this field will be removed in Saleor 4.0.- """- publicationDate: Date+ """Publication date. ISO 8601 standard."""+ publicationDate: Date @deprecated"""Fields required to update the collection metadata."""metadata: [MetadataInput!]@@ -20578,7 +20294,7 @@ Deletes a collection.Requires one of the following permissions: MANAGE_PRODUCTS."""type CollectionDelete @doc(category: "Products") {- collectionErrors: [CollectionError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ collectionErrors: [CollectionError!]! @deprecated(reason: "Use `errors` field instead.")errors: [CollectionError!]!collection: Collection}@@ -20591,7 +20307,7 @@ Requires one of the following permissions: MANAGE_PRODUCTS.type CollectionReorderProducts @doc(category: "Products") {"""Collection from which products are reordered."""collection: Collection- collectionErrors: [CollectionError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ collectionErrors: [CollectionError!]! @deprecated(reason: "Use `errors` field instead.")errors: [CollectionError!]!}@@ -20613,7 +20329,7 @@ Requires one of the following permissions: MANAGE_PRODUCTS.type CollectionBulkDelete @doc(category: "Products") {"""Returns how many objects were affected."""count: Int!- collectionErrors: [CollectionError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ collectionErrors: [CollectionError!]! @deprecated(reason: "Use `errors` field instead.")errors: [CollectionError!]!}@@ -20625,7 +20341,7 @@ Requires one of the following permissions: MANAGE_PRODUCTS.type CollectionRemoveProducts @doc(category: "Products") {"""Collection from which products will be removed."""collection: Collection- collectionErrors: [CollectionError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ collectionErrors: [CollectionError!]! @deprecated(reason: "Use `errors` field instead.")errors: [CollectionError!]!}@@ -20635,7 +20351,7 @@ Updates a collection.Requires one of the following permissions: MANAGE_PRODUCTS."""type CollectionUpdate @doc(category: "Products") {- collectionErrors: [CollectionError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ collectionErrors: [CollectionError!]! @deprecated(reason: "Use `errors` field instead.")errors: [CollectionError!]!collection: Collection}@@ -20666,12 +20382,8 @@ input CollectionInput @doc(category: "Products") {"""Search engine optimization fields."""seo: SeoInput- """- Publication date. ISO 8601 standard.-- DEPRECATED: this field will be removed in Saleor 4.0.- """- publicationDate: Date+ """Publication date. ISO 8601 standard."""+ publicationDate: Date @deprecated"""Fields required to update the collection metadata."""metadata: [MetadataInput!]@@ -20686,7 +20398,7 @@ Creates/updates translations for a collection.Requires one of the following permissions: MANAGE_TRANSLATIONS."""type CollectionTranslate @doc(category: "Products") {- translationErrors: [TranslationError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ translationErrors: [TranslationError!]! @deprecated(reason: "Use `errors` field instead.")errors: [TranslationError!]!collection: Collection}@@ -20699,7 +20411,7 @@ Requires one of the following permissions: MANAGE_PRODUCTS.type CollectionChannelListingUpdate @doc(category: "Products") {"""An updated collection instance."""collection: Collection- collectionChannelListingErrors: [CollectionChannelListingError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ collectionChannelListingErrors: [CollectionChannelListingError!]! @deprecated(reason: "Use `errors` field instead.")errors: [CollectionChannelListingError!]!}@@ -20740,12 +20452,8 @@ input PublishableChannelListingInput @doc(category: "Products") {"""Determines if object is visible to customers."""isPublished: Boolean- """- Publication date. ISO 8601 standard.-- DEPRECATED: this field will be removed in Saleor 4.0. Use `publishedAt` field instead.- """- publicationDate: Date+ """Publication date. ISO 8601 standard."""+ publicationDate: Date @deprecated(reason: "Use `publishedAt` field instead.")"""Publication date time. ISO 8601 standard."""publishedAt: DateTime@@ -20757,7 +20465,7 @@ Creates a new product.Requires one of the following permissions: MANAGE_PRODUCTS."""type ProductCreate @doc(category: "Products") {- productErrors: [ProductError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ productErrors: [ProductError!]! @deprecated(reason: "Use `errors` field instead.")errors: [ProductError!]!product: Product}@@ -20769,12 +20477,8 @@ input ProductCreateInput @doc(category: "Products") {"""ID of the product's category."""category: ID- """- Determine if taxes are being charged for the product.-- DEPRECATED: this field will be removed in Saleor 4.0. Use `Channel.taxConfiguration` to configure whether tax collection is enabled.- """- chargeTaxes: Boolean+ """Determine if taxes are being charged for the product."""+ chargeTaxes: Boolean @deprecated(reason: "Use `Channel.taxConfiguration` to configure whether tax collection is enabled.")"""List of IDs of collections that the product belongs to."""collections: [ID!]@@ -20797,12 +20501,8 @@ input ProductCreateInput @doc(category: "Products") {"""taxClass: ID- """- Tax rate for enabled tax gateway.-- DEPRECATED: this field will be removed in Saleor 4.0. Use tax classes to control the tax calculation for a product. If taxCode is provided, Saleor will try to find a tax class with given code (codes are stored in metadata) and assign it. If no tax class is found, it would be created and assigned.- """- taxCode: String+ """Tax rate for enabled tax gateway."""+ taxCode: String @deprecated(reason: "Use tax classes to control the tax calculation for a product. If taxCode is provided, Saleor will try to find a tax class with given code (codes are stored in metadata) and assign it. If no tax class is found, it would be created and assigned.")"""Search engine optimization fields."""seo: SeoInput@@ -20834,9 +20534,9 @@ input AttributeValueInput @doc(category: "Attributes") {externalReference: String"""- The value or slug of an attribute to resolve. If the passed value is non-existent, it will be created. This field will be removed in Saleor 4.0.+ The value or slug of an attribute to resolve. If the passed value is non-existent, it will be created."""- values: [String!]+ values: [String!] @deprecated"""Attribute value ID or external reference."""dropdown: AttributeValueSelectableTypeInput@@ -20901,7 +20601,7 @@ Deletes a product.Requires one of the following permissions: MANAGE_PRODUCTS."""type ProductDelete @doc(category: "Products") {- productErrors: [ProductError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ productErrors: [ProductError!]! @deprecated(reason: "Use `errors` field instead.")errors: [ProductError!]!product: Product}@@ -20978,12 +20678,8 @@ input ProductBulkCreateInput @doc(category: "Products") {"""ID of the product's category."""category: ID- """- Determine if taxes are being charged for the product.-- DEPRECATED: this field will be removed in Saleor 4.0. Use `Channel.taxConfiguration` to configure whether tax collection is enabled.- """- chargeTaxes: Boolean+ """Determine if taxes are being charged for the product."""+ chargeTaxes: Boolean @deprecated(reason: "Use `Channel.taxConfiguration` to configure whether tax collection is enabled.")"""List of IDs of collections that the product belongs to."""collections: [ID!]@@ -21006,12 +20702,8 @@ input ProductBulkCreateInput @doc(category: "Products") {"""taxClass: ID- """- Tax rate for enabled tax gateway.-- DEPRECATED: this field will be removed in Saleor 4.0. Use tax classes to control the tax calculation for a product. If taxCode is provided, Saleor will try to find a tax class with given code (codes are stored in metadata) and assign it. If no tax class is found, it would be created and assigned.- """- taxCode: String+ """Tax rate for enabled tax gateway."""+ taxCode: String @deprecated(reason: "Use tax classes to control the tax calculation for a product. If taxCode is provided, Saleor will try to find a tax class with given code (codes are stored in metadata) and assign it. If no tax class is found, it would be created and assigned.")"""Search engine optimization fields."""seo: SeoInput@@ -21131,9 +20823,9 @@ input BulkAttributeValueInput @doc(category: "Products") {externalReference: String"""- The value or slug of an attribute to resolve. If the passed value is non-existent, it will be created.This field will be removed in Saleor 4.0.+ The value or slug of an attribute to resolve. If the passed value is non-existent, it will be created."""- values: [String!]+ values: [String!] @deprecated"""Attribute value ID."""dropdown: AttributeValueSelectableTypeInput@@ -21219,7 +20911,7 @@ Requires one of the following permissions: MANAGE_PRODUCTS.type ProductBulkDelete @doc(category: "Products") {"""Returns how many objects were affected."""count: Int!- productErrors: [ProductError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ productErrors: [ProductError!]! @deprecated(reason: "Use `errors` field instead.")errors: [ProductError!]!}@@ -21229,7 +20921,7 @@ Updates an existing product.Requires one of the following permissions: MANAGE_PRODUCTS."""type ProductUpdate @doc(category: "Products") {- productErrors: [ProductError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ productErrors: [ProductError!]! @deprecated(reason: "Use `errors` field instead.")errors: [ProductError!]!product: Product}@@ -21241,12 +20933,8 @@ input ProductInput @doc(category: "Products") {"""ID of the product's category."""category: ID- """- Determine if taxes are being charged for the product.-- DEPRECATED: this field will be removed in Saleor 4.0. Use `Channel.taxConfiguration` to configure whether tax collection is enabled.- """- chargeTaxes: Boolean+ """Determine if taxes are being charged for the product."""+ chargeTaxes: Boolean @deprecated(reason: "Use `Channel.taxConfiguration` to configure whether tax collection is enabled.")"""List of IDs of collections that the product belongs to."""collections: [ID!]@@ -21269,12 +20957,8 @@ input ProductInput @doc(category: "Products") {"""taxClass: ID- """- Tax rate for enabled tax gateway.-- DEPRECATED: this field will be removed in Saleor 4.0. Use tax classes to control the tax calculation for a product. If taxCode is provided, Saleor will try to find a tax class with given code (codes are stored in metadata) and assign it. If no tax class is found, it would be created and assigned.- """- taxCode: String+ """Tax rate for enabled tax gateway."""+ taxCode: String @deprecated(reason: "Use tax classes to control the tax calculation for a product. If taxCode is provided, Saleor will try to find a tax class with given code (codes are stored in metadata) and assign it. If no tax class is found, it would be created and assigned.")"""Search engine optimization fields."""seo: SeoInput@@ -21361,7 +21045,7 @@ Creates/updates translations for a product.Requires one of the following permissions: MANAGE_TRANSLATIONS."""type ProductTranslate @doc(category: "Products") {- translationErrors: [TranslationError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ translationErrors: [TranslationError!]! @deprecated(reason: "Use `errors` field instead.")errors: [TranslationError!]!product: Product}@@ -21374,7 +21058,7 @@ Requires one of the following permissions: MANAGE_PRODUCTS.type ProductChannelListingUpdate @doc(category: "Products") {"""An updated product instance."""product: Product- productChannelListingErrors: [ProductChannelListingError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ productChannelListingErrors: [ProductChannelListingError!]! @deprecated(reason: "Use `errors` field instead.")errors: [ProductChannelListingError!]!}@@ -21418,12 +21102,8 @@ input ProductChannelListingAddInput @doc(category: "Products") {"""Determines if object is visible to customers."""isPublished: Boolean- """- Publication date. ISO 8601 standard.-- DEPRECATED: this field will be removed in Saleor 4.0. Use `publishedAt` field instead.- """- publicationDate: Date+ """Publication date. ISO 8601 standard."""+ publicationDate: Date @deprecated(reason: "Use `publishedAt` field instead.")"""Publication date time. ISO 8601 standard."""publishedAt: DateTime@@ -21439,11 +21119,9 @@ input ProductChannelListingAddInput @doc(category: "Products") {isAvailableForPurchase: Boolean"""- A start date from which a product will be available for purchase. When not set and isAvailable is set to True, the current day is assumed.-- DEPRECATED: this field will be removed in Saleor 4.0. Use `availableForPurchaseAt` field instead.+ A start date from which a product will be available for purchase. When not set and isAvailable is set to True, the current day is assumed."""- availableForPurchaseDate: Date+ availableForPurchaseDate: Date @deprecated(reason: "Use `availableForPurchaseAt` field instead.")"""A start date time from which a product will be available for purchase. When not set and `isAvailable` is set to True, the current day is assumed.@@ -21465,7 +21143,7 @@ Requires one of the following permissions: MANAGE_PRODUCTS.type ProductMediaCreate @doc(category: "Products") {product: Productmedia: ProductMedia- productErrors: [ProductError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ productErrors: [ProductError!]! @deprecated(reason: "Use `errors` field instead.")errors: [ProductError!]!}@@ -21490,7 +21168,7 @@ Requires one of the following permissions: MANAGE_PRODUCTS."""type ProductVariantReorder @doc(category: "Products") {product: Product- productErrors: [ProductError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ productErrors: [ProductError!]! @deprecated(reason: "Use `errors` field instead.")errors: [ProductError!]!}@@ -21512,7 +21190,7 @@ Requires one of the following permissions: MANAGE_PRODUCTS.type ProductMediaDelete @doc(category: "Products") {product: Productmedia: ProductMedia- productErrors: [ProductError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ productErrors: [ProductError!]! @deprecated(reason: "Use `errors` field instead.")errors: [ProductError!]!}@@ -21524,7 +21202,7 @@ Requires one of the following permissions: MANAGE_PRODUCTS.type ProductMediaBulkDelete @doc(category: "Products") {"""Returns how many objects were affected."""count: Int!- productErrors: [ProductError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ productErrors: [ProductError!]! @deprecated(reason: "Use `errors` field instead.")errors: [ProductError!]!}@@ -21536,7 +21214,7 @@ Requires one of the following permissions: MANAGE_PRODUCTS.type ProductMediaReorder @doc(category: "Products") {product: Productmedia: [ProductMedia!]- productErrors: [ProductError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ productErrors: [ProductError!]! @deprecated(reason: "Use `errors` field instead.")errors: [ProductError!]!}@@ -21548,7 +21226,7 @@ Requires one of the following permissions: MANAGE_PRODUCTS.type ProductMediaUpdate @doc(category: "Products") {product: Productmedia: ProductMedia- productErrors: [ProductError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ productErrors: [ProductError!]! @deprecated(reason: "Use `errors` field instead.")errors: [ProductError!]!}@@ -21563,7 +21241,7 @@ Creates a new product type.Requires one of the following permissions: MANAGE_PRODUCT_TYPES_AND_ATTRIBUTES."""type ProductTypeCreate @doc(category: "Products") {- productErrors: [ProductError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ productErrors: [ProductError!]! @deprecated(reason: "Use `errors` field instead.")errors: [ProductError!]!productType: ProductType}@@ -21600,12 +21278,8 @@ input ProductTypeInput @doc(category: "Products") {"""Weight of the ProductType items."""weight: WeightScalar- """- Tax rate for enabled tax gateway.-- DEPRECATED: this field will be removed in Saleor 4.0.. Use tax classes to control the tax calculation for a product type. If taxCode is provided, Saleor will try to find a tax class with given code (codes are stored in metadata) and assign it. If no tax class is found, it would be created and assigned.- """- taxCode: String+ """Tax rate for enabled tax gateway."""+ taxCode: String @deprecated(reason: "Use tax classes to control the tax calculation for a product type. If taxCode is provided, Saleor will try to find a tax class with given code (codes are stored in metadata) and assign it. If no tax class is found, it would be created and assigned.")"""ID of a tax class to assign to this product type. All products of this product type would use this tax class, unless it's overridden in the `Product` type.@@ -21619,7 +21293,7 @@ Deletes a product type.Requires one of the following permissions: MANAGE_PRODUCT_TYPES_AND_ATTRIBUTES."""type ProductTypeDelete @doc(category: "Products") {- productErrors: [ProductError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ productErrors: [ProductError!]! @deprecated(reason: "Use `errors` field instead.")errors: [ProductError!]!productType: ProductType}@@ -21632,7 +21306,7 @@ Requires one of the following permissions: MANAGE_PRODUCT_TYPES_AND_ATTRIBUTES.type ProductTypeBulkDelete @doc(category: "Products") {"""Returns how many objects were affected."""count: Int!- productErrors: [ProductError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ productErrors: [ProductError!]! @deprecated(reason: "Use `errors` field instead.")errors: [ProductError!]!}@@ -21642,7 +21316,7 @@ Updates an existing product type.Requires one of the following permissions: MANAGE_PRODUCT_TYPES_AND_ATTRIBUTES."""type ProductTypeUpdate @doc(category: "Products") {- productErrors: [ProductError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ productErrors: [ProductError!]! @deprecated(reason: "Use `errors` field instead.")errors: [ProductError!]!productType: ProductType}@@ -21655,7 +21329,7 @@ Requires one of the following permissions: MANAGE_PRODUCT_TYPES_AND_ATTRIBUTES.type ProductTypeReorderAttributes @doc(category: "Products") {"""Product type from which attributes are reordered."""productType: ProductType- productErrors: [ProductError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ productErrors: [ProductError!]! @deprecated(reason: "Use `errors` field instead.")errors: [ProductError!]!}@@ -21667,7 +21341,7 @@ Requires one of the following permissions: MANAGE_PRODUCTS.type ProductReorderAttributeValues @doc(category: "Products") {"""Product from which attribute values are reordered."""product: Product- productErrors: [ProductError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ productErrors: [ProductError!]! @deprecated(reason: "Use `errors` field instead.")errors: [ProductError!]!}@@ -21679,7 +21353,7 @@ Requires one of the following permissions: MANAGE_PRODUCTS.type DigitalContentCreate @doc(category: "Products") {variant: ProductVariantcontent: DigitalContent- productErrors: [ProductError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ productErrors: [ProductError!]! @deprecated(reason: "Use `errors` field instead.")errors: [ProductError!]!}@@ -21717,7 +21391,7 @@ Requires one of the following permissions: MANAGE_PRODUCTS."""type DigitalContentDelete @doc(category: "Products") {variant: ProductVariant- productErrors: [ProductError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ productErrors: [ProductError!]! @deprecated(reason: "Use `errors` field instead.")errors: [ProductError!]!}@@ -21729,7 +21403,7 @@ Requires one of the following permissions: MANAGE_PRODUCTS.type DigitalContentUpdate @doc(category: "Products") {variant: ProductVariantcontent: DigitalContent- productErrors: [ProductError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ productErrors: [ProductError!]! @deprecated(reason: "Use `errors` field instead.")errors: [ProductError!]!}@@ -21763,7 +21437,7 @@ Generate new URL to digital content.Requires one of the following permissions: MANAGE_PRODUCTS."""type DigitalContentUrlCreate @doc(category: "Products") {- productErrors: [ProductError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ productErrors: [ProductError!]! @deprecated(reason: "Use `errors` field instead.")errors: [ProductError!]!digitalContentUrl: DigitalContentUrl}@@ -21779,7 +21453,7 @@ Creates a new variant for a product.Requires one of the following permissions: MANAGE_PRODUCTS."""type ProductVariantCreate @doc(category: "Products") {- productErrors: [ProductError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ productErrors: [ProductError!]! @deprecated(reason: "Use `errors` field instead.")errors: [ProductError!]!productVariant: ProductVariant}@@ -21832,7 +21506,7 @@ Deletes a product variant.Requires one of the following permissions: MANAGE_PRODUCTS."""type ProductVariantDelete @doc(category: "Products") {- productErrors: [ProductError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ productErrors: [ProductError!]! @deprecated(reason: "Use `errors` field instead.")errors: [ProductError!]!productVariant: ProductVariant}@@ -21846,12 +21520,12 @@ type ProductVariantBulkCreate @doc(category: "Products") {"""Returns how many objects were created."""count: Int!- """List of the created variants.This field will be removed in Saleor 4.0."""+ """List of the created variants."""productVariants: [ProductVariant!]!"""List of the created variants."""results: [ProductVariantBulkResult!]!- bulkProductErrors: [BulkProductError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ bulkProductErrors: [BulkProductError!]! @deprecated(reason: "Use `errors` field instead.")errors: [BulkProductError!]!}@@ -22058,7 +21732,7 @@ Requires one of the following permissions: MANAGE_PRODUCTS.type ProductVariantBulkDelete @doc(category: "Products") {"""Returns how many objects were affected."""count: Int!- productErrors: [ProductError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ productErrors: [ProductError!]! @deprecated(reason: "Use `errors` field instead.")errors: [ProductError!]!}@@ -22070,7 +21744,7 @@ Requires one of the following permissions: MANAGE_PRODUCTS.type ProductVariantStocksCreate @doc(category: "Products") {"""Updated product variant."""productVariant: ProductVariant- bulkStockErrors: [BulkStockError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ bulkStockErrors: [BulkStockError!]! @deprecated(reason: "Use `errors` field instead.")errors: [BulkStockError!]!}@@ -22104,7 +21778,7 @@ Requires one of the following permissions: MANAGE_PRODUCTS.type ProductVariantStocksDelete @doc(category: "Products") {"""Updated product variant."""productVariant: ProductVariant- stockErrors: [StockError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ stockErrors: [StockError!]! @deprecated(reason: "Use `errors` field instead.")errors: [StockError!]!}@@ -22138,7 +21812,7 @@ Requires one of the following permissions: MANAGE_PRODUCTS.type ProductVariantStocksUpdate @doc(category: "Products") {"""Updated product variant."""productVariant: ProductVariant- bulkStockErrors: [BulkStockError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ bulkStockErrors: [BulkStockError!]! @deprecated(reason: "Use `errors` field instead.")errors: [BulkStockError!]!}@@ -22148,7 +21822,7 @@ Updates an existing variant for product.Requires one of the following permissions: MANAGE_PRODUCTS."""type ProductVariantUpdate @doc(category: "Products") {- productErrors: [ProductError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ productErrors: [ProductError!]! @deprecated(reason: "Use `errors` field instead.")errors: [ProductError!]!productVariant: ProductVariant}@@ -22196,7 +21870,7 @@ Requires one of the following permissions: MANAGE_PRODUCTS."""type ProductVariantSetDefault @doc(category: "Products") {product: Product- productErrors: [ProductError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ productErrors: [ProductError!]! @deprecated(reason: "Use `errors` field instead.")errors: [ProductError!]!}@@ -22206,7 +21880,7 @@ Creates/updates translations for a product variant.Requires one of the following permissions: MANAGE_TRANSLATIONS."""type ProductVariantTranslate @doc(category: "Products") {- translationErrors: [TranslationError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ translationErrors: [TranslationError!]! @deprecated(reason: "Use `errors` field instead.")errors: [TranslationError!]!productVariant: ProductVariant}@@ -22283,7 +21957,7 @@ Requires one of the following permissions: MANAGE_PRODUCTS.type ProductVariantChannelListingUpdate @doc(category: "Products") {"""An updated product variant instance."""variant: ProductVariant- productChannelListingErrors: [ProductChannelListingError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ productChannelListingErrors: [ProductChannelListingError!]! @deprecated(reason: "Use `errors` field instead.")errors: [ProductChannelListingError!]!}@@ -22295,7 +21969,7 @@ Requires one of the following permissions: MANAGE_PRODUCTS.type ProductVariantReorderAttributeValues @doc(category: "Products") {"""Product variant from which attribute values are reordered."""productVariant: ProductVariant- productErrors: [ProductError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ productErrors: [ProductError!]! @deprecated(reason: "Use `errors` field instead.")errors: [ProductError!]!}@@ -22318,7 +21992,7 @@ Requires one of the following permissions: MANAGE_PRODUCTS.type VariantMediaAssign @doc(category: "Products") {productVariant: ProductVariantmedia: ProductMedia- productErrors: [ProductError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ productErrors: [ProductError!]! @deprecated(reason: "Use `errors` field instead.")errors: [ProductError!]!}@@ -22330,7 +22004,7 @@ Requires one of the following permissions: MANAGE_PRODUCTS.type VariantMediaUnassign @doc(category: "Products") {productVariant: ProductVariantmedia: ProductMedia- productErrors: [ProductError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ productErrors: [ProductError!]! @deprecated(reason: "Use `errors` field instead.")errors: [ProductError!]!}@@ -22342,7 +22016,7 @@ Requires one of the following permissions: MANAGE_ORDERS.type PaymentCapture @doc(category: "Payments") {"""Updated payment."""payment: Payment- paymentErrors: [PaymentError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ paymentErrors: [PaymentError!]! @deprecated(reason: "Use `errors` field instead.")errors: [PaymentError!]!}@@ -22391,7 +22065,7 @@ Requires one of the following permissions: MANAGE_ORDERS.type PaymentRefund @doc(category: "Payments") {"""Updated payment."""payment: Payment- paymentErrors: [PaymentError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ paymentErrors: [PaymentError!]! @deprecated(reason: "Use `errors` field instead.")errors: [PaymentError!]!}@@ -22403,7 +22077,7 @@ Requires one of the following permissions: MANAGE_ORDERS.type PaymentVoid @doc(category: "Payments") {"""Updated payment."""payment: Payment- paymentErrors: [PaymentError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ paymentErrors: [PaymentError!]! @deprecated(reason: "Use `errors` field instead.")errors: [PaymentError!]!}@@ -22411,7 +22085,7 @@ type PaymentVoid @doc(category: "Payments") {type PaymentInitialize @doc(category: "Payments") {"""Payment that was initialized."""initializedPayment: PaymentInitialized- paymentErrors: [PaymentError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ paymentErrors: [PaymentError!]! @deprecated(reason: "Use `errors` field instead.")errors: [PaymentError!]!}@@ -22433,7 +22107,7 @@ type PaymentInitialized @doc(category: "Payments") {type PaymentCheckBalance @doc(category: "Payments") {"""Response from the gateway."""data: JSONString- paymentErrors: [PaymentError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ paymentErrors: [PaymentError!]! @deprecated(reason: "Use `errors` field instead.")errors: [PaymentError!]!}@@ -23073,7 +22747,7 @@ Creates a new page.Requires one of the following permissions: MANAGE_PAGES."""type PageCreate @doc(category: "Pages") {- pageErrors: [PageError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ pageErrors: [PageError!]! @deprecated(reason: "Use `errors` field instead.")errors: [PageError!]!page: Page}@@ -23127,12 +22801,8 @@ input PageCreateInput @doc(category: "Pages") {"""Determines if page is visible in the storefront."""isPublished: Boolean- """- Publication date. ISO 8601 standard.-- DEPRECATED: this field will be removed in Saleor 4.0. Use `publishedAt` field instead.- """- publicationDate: String+ """Publication date. ISO 8601 standard."""+ publicationDate: String @deprecated(reason: "Use `publishedAt` field instead.")"""Publication date time. ISO 8601 standard."""publishedAt: DateTime@@ -23150,7 +22820,7 @@ Deletes a page.Requires one of the following permissions: MANAGE_PAGES."""type PageDelete @doc(category: "Pages") {- pageErrors: [PageError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ pageErrors: [PageError!]! @deprecated(reason: "Use `errors` field instead.")errors: [PageError!]!page: Page}@@ -23163,7 +22833,7 @@ Requires one of the following permissions: MANAGE_PAGES.type PageBulkDelete @doc(category: "Pages") {"""Returns how many objects were affected."""count: Int!- pageErrors: [PageError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ pageErrors: [PageError!]! @deprecated(reason: "Use `errors` field instead.")errors: [PageError!]!}@@ -23175,7 +22845,7 @@ Requires one of the following permissions: MANAGE_PAGES.type PageBulkPublish @doc(category: "Pages") {"""Returns how many objects were affected."""count: Int!- pageErrors: [PageError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ pageErrors: [PageError!]! @deprecated(reason: "Use `errors` field instead.")errors: [PageError!]!}@@ -23185,7 +22855,7 @@ Updates an existing page.Requires one of the following permissions: MANAGE_PAGES."""type PageUpdate @doc(category: "Pages") {- pageErrors: [PageError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ pageErrors: [PageError!]! @deprecated(reason: "Use `errors` field instead.")errors: [PageError!]!page: Page}@@ -23210,12 +22880,8 @@ input PageInput @doc(category: "Pages") {"""Determines if page is visible in the storefront."""isPublished: Boolean- """- Publication date. ISO 8601 standard.-- DEPRECATED: this field will be removed in Saleor 4.0. Use `publishedAt` field instead.- """- publicationDate: String+ """Publication date. ISO 8601 standard."""+ publicationDate: String @deprecated(reason: "Use `publishedAt` field instead.")"""Publication date time. ISO 8601 standard."""publishedAt: DateTime@@ -23230,7 +22896,7 @@ Creates/updates translations for a page.Requires one of the following permissions: MANAGE_TRANSLATIONS."""type PageTranslate @doc(category: "Pages") {- translationErrors: [TranslationError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ translationErrors: [TranslationError!]! @deprecated(reason: "Use `errors` field instead.")errors: [TranslationError!]!page: PageTranslatableContent}@@ -23255,7 +22921,7 @@ Create a new page type.Requires one of the following permissions: MANAGE_PAGE_TYPES_AND_ATTRIBUTES."""type PageTypeCreate @doc(category: "Pages") {- pageErrors: [PageError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ pageErrors: [PageError!]! @deprecated(reason: "Use `errors` field instead.")errors: [PageError!]!pageType: PageType}@@ -23277,7 +22943,7 @@ Update page type.Requires one of the following permissions: MANAGE_PAGE_TYPES_AND_ATTRIBUTES."""type PageTypeUpdate @doc(category: "Pages") {- pageErrors: [PageError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ pageErrors: [PageError!]! @deprecated(reason: "Use `errors` field instead.")errors: [PageError!]!pageType: PageType}@@ -23302,7 +22968,7 @@ Delete a page type.Requires one of the following permissions: MANAGE_PAGE_TYPES_AND_ATTRIBUTES."""type PageTypeDelete @doc(category: "Pages") {- pageErrors: [PageError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ pageErrors: [PageError!]! @deprecated(reason: "Use `errors` field instead.")errors: [PageError!]!pageType: PageType}@@ -23315,7 +22981,7 @@ Requires one of the following permissions: MANAGE_PAGE_TYPES_AND_ATTRIBUTES.type PageTypeBulkDelete @doc(category: "Pages") {"""Returns how many objects were affected."""count: Int!- pageErrors: [PageError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ pageErrors: [PageError!]! @deprecated(reason: "Use `errors` field instead.")errors: [PageError!]!}@@ -23327,7 +22993,7 @@ Requires one of the following permissions: MANAGE_PAGE_TYPES_AND_ATTRIBUTES.type PageAttributeAssign @doc(category: "Pages") {"""The updated page type."""pageType: PageType- pageErrors: [PageError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ pageErrors: [PageError!]! @deprecated(reason: "Use `errors` field instead.")errors: [PageError!]!}@@ -23339,7 +23005,7 @@ Requires one of the following permissions: MANAGE_PAGE_TYPES_AND_ATTRIBUTES.type PageAttributeUnassign @doc(category: "Pages") {"""The updated page type."""pageType: PageType- pageErrors: [PageError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ pageErrors: [PageError!]! @deprecated(reason: "Use `errors` field instead.")errors: [PageError!]!}@@ -23351,7 +23017,7 @@ Requires one of the following permissions: MANAGE_PAGE_TYPES_AND_ATTRIBUTES.type PageTypeReorderAttributes @doc(category: "Pages") {"""Page type from which attributes are reordered."""pageType: PageType- pageErrors: [PageError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ pageErrors: [PageError!]! @deprecated(reason: "Use `errors` field instead.")errors: [PageError!]!}@@ -23363,7 +23029,7 @@ Requires one of the following permissions: MANAGE_PAGES.type PageReorderAttributeValues @doc(category: "Pages") {"""Page from which attribute values are reordered."""page: Page- pageErrors: [PageError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ pageErrors: [PageError!]! @deprecated(reason: "Use `errors` field instead.")errors: [PageError!]!}@@ -23375,7 +23041,7 @@ Requires one of the following permissions: MANAGE_ORDERS.type DraftOrderComplete @doc(category: "Orders") {"""Completed order."""order: Order- orderErrors: [OrderError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ orderErrors: [OrderError!]! @deprecated(reason: "Use `errors` field instead.")errors: [OrderError!]!}@@ -23385,7 +23051,7 @@ Creates a new draft order.Requires one of the following permissions: MANAGE_ORDERS."""type DraftOrderCreate @doc(category: "Orders") {- orderErrors: [OrderError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ orderErrors: [OrderError!]! @deprecated(reason: "Use `errors` field instead.")errors: [OrderError!]!order: Order}@@ -23407,12 +23073,8 @@ input DraftOrderCreateInput @doc(category: "Orders") {"""Email address of the customer."""userEmail: String- """- Discount amount for the order.-- DEPRECATED: this field will be removed in Saleor 4.0. Providing a value for the field has no effect. Use `orderDiscountAdd` mutation instead.- """- discount: PositiveDecimal+ """Discount amount for the order."""+ discount: PositiveDecimal @deprecated(reason: "Providing a value for the field has no effect. Use `orderDiscountAdd` mutation instead.")"""Shipping address of the customer."""shippingAddress: AddressInput@@ -23493,7 +23155,7 @@ Deletes a draft order.Requires one of the following permissions: MANAGE_ORDERS."""type DraftOrderDelete @doc(category: "Orders") {- orderErrors: [OrderError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ orderErrors: [OrderError!]! @deprecated(reason: "Use `errors` field instead.")errors: [OrderError!]!order: Order}@@ -23506,7 +23168,7 @@ Requires one of the following permissions: MANAGE_ORDERS.type DraftOrderBulkDelete @doc(category: "Orders") {"""Returns how many objects were affected."""count: Int!- orderErrors: [OrderError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ orderErrors: [OrderError!]! @deprecated(reason: "Use `errors` field instead.")errors: [OrderError!]!}@@ -23518,7 +23180,7 @@ Requires one of the following permissions: MANAGE_ORDERS.type DraftOrderLinesBulkDelete @doc(category: "Orders") {"""Returns how many objects were affected."""count: Int!- orderErrors: [OrderError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ orderErrors: [OrderError!]! @deprecated(reason: "Use `errors` field instead.")errors: [OrderError!]!}@@ -23528,7 +23190,7 @@ Updates a draft order.Requires one of the following permissions: MANAGE_ORDERS."""type DraftOrderUpdate @doc(category: "Orders") {- orderErrors: [OrderError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ orderErrors: [OrderError!]! @deprecated(reason: "Use `errors` field instead.")errors: [OrderError!]!order: Order}@@ -23550,12 +23212,8 @@ input DraftOrderInput @doc(category: "Orders") {"""Email address of the customer."""userEmail: String- """- Discount amount for the order.-- DEPRECATED: this field will be removed in Saleor 4.0. Providing a value for the field has no effect. Use `orderDiscountAdd` mutation instead.- """- discount: PositiveDecimal+ """Discount amount for the order."""+ discount: PositiveDecimal @deprecated(reason: "Providing a value for the field has no effect. Use `orderDiscountAdd` mutation instead.")"""Shipping address of the customer."""shippingAddress: AddressInput@@ -23610,9 +23268,7 @@ input DraftOrderInput @doc(category: "Orders") {}"""-Adds note to the order.--DEPRECATED: this mutation will be removed in Saleor 4.0.+Adds note to the order.Requires one of the following permissions: MANAGE_ORDERS."""@@ -23622,17 +23278,13 @@ type OrderAddNote @doc(category: "Orders") {"""Order note created."""event: OrderEvent- orderErrors: [OrderError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ orderErrors: [OrderError!]! @deprecated(reason: "Use `errors` field instead.")errors: [OrderError!]!}input OrderAddNoteInput @doc(category: "Orders") {- """- Note message.-- DEPRECATED: this field will be removed in Saleor 4.0.- """- message: String!+ """Note message."""+ message: String! @deprecated}"""@@ -23643,7 +23295,7 @@ Requires one of the following permissions: MANAGE_ORDERS.type OrderCancel @doc(category: "Orders") {"""Canceled order."""order: Order- orderErrors: [OrderError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ orderErrors: [OrderError!]! @deprecated(reason: "Use `errors` field instead.")errors: [OrderError!]!}@@ -23655,7 +23307,7 @@ Requires one of the following permissions: MANAGE_ORDERS.type OrderCapture @doc(category: "Orders") {"""Captured order."""order: Order- orderErrors: [OrderError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ orderErrors: [OrderError!]! @deprecated(reason: "Use `errors` field instead.")errors: [OrderError!]!}@@ -23666,7 +23318,7 @@ Requires one of the following permissions: MANAGE_ORDERS."""type OrderConfirm @doc(category: "Orders") {order: Order- orderErrors: [OrderError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ orderErrors: [OrderError!]! @deprecated(reason: "Use `errors` field instead.")errors: [OrderError!]!}@@ -23687,7 +23339,7 @@ type OrderFulfill @doc(category: "Orders") @webhookEventsInfo(asyncEvents: [FULF"""Fulfilled order."""order: Order- orderErrors: [OrderError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ orderErrors: [OrderError!]! @deprecated(reason: "Use `errors` field instead.")errors: [OrderError!]!}@@ -23732,7 +23384,7 @@ type FulfillmentCancel @doc(category: "Orders") {"""Order which fulfillment was cancelled."""order: Order- orderErrors: [OrderError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ orderErrors: [OrderError!]! @deprecated(reason: "Use `errors` field instead.")errors: [OrderError!]!}@@ -23757,7 +23409,7 @@ type FulfillmentApprove @doc(category: "Orders") @webhookEventsInfo(asyncEvents:"""Order which fulfillment was approved."""order: Order- orderErrors: [OrderError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ orderErrors: [OrderError!]! @deprecated(reason: "Use `errors` field instead.")errors: [OrderError!]!}@@ -23775,7 +23427,7 @@ type FulfillmentUpdateTracking @doc(category: "Orders") @webhookEventsInfo(async"""Order for which fulfillment was updated."""order: Order- orderErrors: [OrderError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ orderErrors: [OrderError!]! @deprecated(reason: "Use `errors` field instead.")errors: [OrderError!]!}@@ -23798,7 +23450,7 @@ type FulfillmentRefundProducts @doc(category: "Orders") {"""Order which fulfillment was refunded."""order: Order- orderErrors: [OrderError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ orderErrors: [OrderError!]! @deprecated(reason: "Use `errors` field instead.")errors: [OrderError!]!}@@ -23851,7 +23503,7 @@ type FulfillmentReturnProducts @doc(category: "Orders") {"""A draft order which was created for products with replace flag."""replaceOrder: Order- orderErrors: [OrderError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ orderErrors: [OrderError!]! @deprecated(reason: "Use `errors` field instead.")errors: [OrderError!]!}@@ -24107,7 +23759,7 @@ type OrderLinesCreate @doc(category: "Orders") {"""List of added order lines."""orderLines: [OrderLine!]- orderErrors: [OrderError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ orderErrors: [OrderError!]! @deprecated(reason: "Use `errors` field instead.")errors: [OrderError!]!}@@ -24122,7 +23774,7 @@ type OrderLineDelete @doc(category: "Orders") {"""An order line that was deleted."""orderLine: OrderLine- orderErrors: [OrderError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ orderErrors: [OrderError!]! @deprecated(reason: "Use `errors` field instead.")errors: [OrderError!]!}@@ -24134,7 +23786,7 @@ Requires one of the following permissions: MANAGE_ORDERS.type OrderLineUpdate @doc(category: "Orders") {"""Related order."""order: Order- orderErrors: [OrderError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ orderErrors: [OrderError!]! @deprecated(reason: "Use `errors` field instead.")errors: [OrderError!]!orderLine: OrderLine}@@ -24152,7 +23804,7 @@ Requires one of the following permissions: MANAGE_ORDERS.type OrderDiscountAdd @doc(category: "Orders") {"""Order which has been discounted."""order: Order- orderErrors: [OrderError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ orderErrors: [OrderError!]! @deprecated(reason: "Use `errors` field instead.")errors: [OrderError!]!}@@ -24175,7 +23827,7 @@ Requires one of the following permissions: MANAGE_ORDERS.type OrderDiscountUpdate @doc(category: "Orders") {"""Order which has been discounted."""order: Order- orderErrors: [OrderError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ orderErrors: [OrderError!]! @deprecated(reason: "Use `errors` field instead.")errors: [OrderError!]!}@@ -24187,7 +23839,7 @@ Requires one of the following permissions: MANAGE_ORDERS.type OrderDiscountDelete @doc(category: "Orders") {"""Order which has removed discount."""order: Order- orderErrors: [OrderError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ orderErrors: [OrderError!]! @deprecated(reason: "Use `errors` field instead.")errors: [OrderError!]!}@@ -24202,7 +23854,7 @@ type OrderLineDiscountUpdate @doc(category: "Orders") {"""Order which is related to the discounted line."""order: Order- orderErrors: [OrderError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ orderErrors: [OrderError!]! @deprecated(reason: "Use `errors` field instead.")errors: [OrderError!]!}@@ -24217,7 +23869,7 @@ type OrderLineDiscountRemove @doc(category: "Orders") {"""Order which is related to line which has removed discount."""order: Order- orderErrors: [OrderError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ orderErrors: [OrderError!]! @deprecated(reason: "Use `errors` field instead.")errors: [OrderError!]!}@@ -24299,7 +23951,7 @@ Requires one of the following permissions: MANAGE_ORDERS.type OrderMarkAsPaid @doc(category: "Orders") {"""Order marked as paid."""order: Order- orderErrors: [OrderError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ orderErrors: [OrderError!]! @deprecated(reason: "Use `errors` field instead.")errors: [OrderError!]!}@@ -24311,7 +23963,7 @@ Requires one of the following permissions: MANAGE_ORDERS.type OrderRefund @doc(category: "Orders") {"""A refunded order."""order: Order- orderErrors: [OrderError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ orderErrors: [OrderError!]! @deprecated(reason: "Use `errors` field instead.")errors: [OrderError!]!}@@ -24321,7 +23973,7 @@ Updates an order.Requires one of the following permissions: MANAGE_ORDERS."""type OrderUpdate @doc(category: "Orders") {- orderErrors: [OrderError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ orderErrors: [OrderError!]! @deprecated(reason: "Use `errors` field instead.")errors: [OrderError!]!order: Order}@@ -24348,7 +24000,7 @@ Requires one of the following permissions: MANAGE_ORDERS.type OrderUpdateShipping @doc(category: "Orders") {"""Order with updated shipping method."""order: Order- orderErrors: [OrderError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ orderErrors: [OrderError!]! @deprecated(reason: "Use `errors` field instead.")errors: [OrderError!]!}@@ -24367,7 +24019,7 @@ Requires one of the following permissions: MANAGE_ORDERS.type OrderVoid @doc(category: "Orders") {"""A voided order."""order: Order- orderErrors: [OrderError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ orderErrors: [OrderError!]! @deprecated(reason: "Use `errors` field instead.")errors: [OrderError!]!}@@ -24379,7 +24031,7 @@ Requires one of the following permissions: MANAGE_ORDERS.type OrderBulkCancel @doc(category: "Orders") {"""Returns how many objects were affected."""count: Int!- orderErrors: [OrderError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ orderErrors: [OrderError!]! @deprecated(reason: "Use `errors` field instead.")errors: [OrderError!]!}@@ -24745,7 +24397,7 @@ enum StockUpdatePolicyEnum {Delete metadata of an object. To use it, you need to have access to the modified object."""type DeleteMetadata {- metadataErrors: [MetadataError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ metadataErrors: [MetadataError!]! @deprecated(reason: "Use `errors` field instead.")errors: [MetadataError!]!item: ObjectWithMetadata}@@ -24775,7 +24427,7 @@ enum MetadataErrorCode {Delete object's private metadata. To use it, you need to be an authenticated staff user or an app and have access to the modified object."""type DeletePrivateMetadata {- metadataErrors: [MetadataError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ metadataErrors: [MetadataError!]! @deprecated(reason: "Use `errors` field instead.")errors: [MetadataError!]!item: ObjectWithMetadata}@@ -24784,7 +24436,7 @@ type DeletePrivateMetadata {Updates metadata of an object. To use it, you need to have access to the modified object."""type UpdateMetadata {- metadataErrors: [MetadataError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ metadataErrors: [MetadataError!]! @deprecated(reason: "Use `errors` field instead.")errors: [MetadataError!]!item: ObjectWithMetadata}@@ -24793,7 +24445,7 @@ type UpdateMetadata {Updates private metadata of an object. To use it, you need to be an authenticated staff user or an app and have access to the modified object."""type UpdatePrivateMetadata {- metadataErrors: [MetadataError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ metadataErrors: [MetadataError!]! @deprecated(reason: "Use `errors` field instead.")errors: [MetadataError!]!item: ObjectWithMetadata}@@ -24806,7 +24458,7 @@ Requires one of the following permissions: MANAGE_MENUS, MANAGE_SETTINGS.type AssignNavigation @doc(category: "Menu") {"""Assigned navigation menu."""menu: Menu- menuErrors: [MenuError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ menuErrors: [MenuError!]! @deprecated(reason: "Use `errors` field instead.")errors: [MenuError!]!}@@ -24852,7 +24504,7 @@ Triggers the following webhook events:- MENU_CREATED (async): A menu was created."""type MenuCreate @doc(category: "Menu") @webhookEventsInfo(asyncEvents: [MENU_CREATED], syncEvents: []) {- menuErrors: [MenuError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ menuErrors: [MenuError!]! @deprecated(reason: "Use `errors` field instead.")errors: [MenuError!]!menu: Menu}@@ -24894,7 +24546,7 @@ Triggers the following webhook events:- MENU_DELETED (async): A menu was deleted."""type MenuDelete @doc(category: "Menu") @webhookEventsInfo(asyncEvents: [MENU_DELETED], syncEvents: []) {- menuErrors: [MenuError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ menuErrors: [MenuError!]! @deprecated(reason: "Use `errors` field instead.")errors: [MenuError!]!menu: Menu}@@ -24910,7 +24562,7 @@ Triggers the following webhook events:type MenuBulkDelete @doc(category: "Menu") @webhookEventsInfo(asyncEvents: [MENU_DELETED], syncEvents: []) {"""Returns how many objects were affected."""count: Int!- menuErrors: [MenuError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ menuErrors: [MenuError!]! @deprecated(reason: "Use `errors` field instead.")errors: [MenuError!]!}@@ -24923,7 +24575,7 @@ Triggers the following webhook events:- MENU_UPDATED (async): A menu was updated."""type MenuUpdate @doc(category: "Menu") @webhookEventsInfo(asyncEvents: [MENU_UPDATED], syncEvents: []) {- menuErrors: [MenuError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ menuErrors: [MenuError!]! @deprecated(reason: "Use `errors` field instead.")errors: [MenuError!]!menu: Menu}@@ -24945,7 +24597,7 @@ Triggers the following webhook events:- MENU_ITEM_CREATED (async): A menu item was created."""type MenuItemCreate @doc(category: "Menu") @webhookEventsInfo(asyncEvents: [MENU_ITEM_CREATED], syncEvents: []) {- menuErrors: [MenuError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ menuErrors: [MenuError!]! @deprecated(reason: "Use `errors` field instead.")errors: [MenuError!]!menuItem: MenuItem}@@ -24982,7 +24634,7 @@ Triggers the following webhook events:- MENU_ITEM_DELETED (async): A menu item was deleted."""type MenuItemDelete @doc(category: "Menu") @webhookEventsInfo(asyncEvents: [MENU_ITEM_DELETED], syncEvents: []) {- menuErrors: [MenuError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ menuErrors: [MenuError!]! @deprecated(reason: "Use `errors` field instead.")errors: [MenuError!]!menuItem: MenuItem}@@ -24998,7 +24650,7 @@ Triggers the following webhook events:type MenuItemBulkDelete @doc(category: "Menu") @webhookEventsInfo(asyncEvents: [MENU_ITEM_DELETED], syncEvents: []) {"""Returns how many objects were affected."""count: Int!- menuErrors: [MenuError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ menuErrors: [MenuError!]! @deprecated(reason: "Use `errors` field instead.")errors: [MenuError!]!}@@ -25011,7 +24663,7 @@ Triggers the following webhook events:- MENU_ITEM_UPDATED (async): A menu item was updated."""type MenuItemUpdate @doc(category: "Menu") @webhookEventsInfo(asyncEvents: [MENU_ITEM_UPDATED], syncEvents: []) {- menuErrors: [MenuError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ menuErrors: [MenuError!]! @deprecated(reason: "Use `errors` field instead.")errors: [MenuError!]!menuItem: MenuItem}@@ -25022,7 +24674,7 @@ Creates/updates translations for a menu item.Requires one of the following permissions: MANAGE_TRANSLATIONS."""type MenuItemTranslate @doc(category: "Menu") {- translationErrors: [TranslationError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ translationErrors: [TranslationError!]! @deprecated(reason: "Use `errors` field instead.")errors: [TranslationError!]!menuItem: MenuItem}@@ -25038,7 +24690,7 @@ Triggers the following webhook events:type MenuItemMove @doc(category: "Menu") @webhookEventsInfo(asyncEvents: [MENU_ITEM_UPDATED], syncEvents: []) {"""Assigned menu to move within."""menu: Menu- menuErrors: [MenuError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ menuErrors: [MenuError!]! @deprecated(reason: "Use `errors` field instead.")errors: [MenuError!]!}@@ -25066,7 +24718,7 @@ Triggers the following webhook events:type InvoiceRequest @doc(category: "Orders") @webhookEventsInfo(asyncEvents: [INVOICE_REQUESTED], syncEvents: []) {"""Order related to an invoice."""order: Order- invoiceErrors: [InvoiceError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ invoiceErrors: [InvoiceError!]! @deprecated(reason: "Use `errors` field instead.")errors: [InvoiceError!]!invoice: Invoice}@@ -25104,7 +24756,7 @@ Triggers the following webhook events:- INVOICE_DELETED (async): An invoice was requested to delete."""type InvoiceRequestDelete @doc(category: "Orders") @webhookEventsInfo(asyncEvents: [INVOICE_DELETED], syncEvents: []) {- invoiceErrors: [InvoiceError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ invoiceErrors: [InvoiceError!]! @deprecated(reason: "Use `errors` field instead.")errors: [InvoiceError!]!invoice: Invoice}@@ -25115,7 +24767,7 @@ Creates a ready to send invoice.Requires one of the following permissions: MANAGE_ORDERS."""type InvoiceCreate @doc(category: "Orders") {- invoiceErrors: [InvoiceError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ invoiceErrors: [InvoiceError!]! @deprecated(reason: "Use `errors` field instead.")errors: [InvoiceError!]!invoice: Invoice}@@ -25140,7 +24792,7 @@ Deletes an invoice.Requires one of the following permissions: MANAGE_ORDERS."""type InvoiceDelete @doc(category: "Orders") {- invoiceErrors: [InvoiceError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ invoiceErrors: [InvoiceError!]! @deprecated(reason: "Use `errors` field instead.")errors: [InvoiceError!]!invoice: Invoice}@@ -25151,7 +24803,7 @@ Updates an invoice.Requires one of the following permissions: MANAGE_ORDERS."""type InvoiceUpdate @doc(category: "Orders") {- invoiceErrors: [InvoiceError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ invoiceErrors: [InvoiceError!]! @deprecated(reason: "Use `errors` field instead.")errors: [InvoiceError!]!invoice: Invoice}@@ -25180,7 +24832,7 @@ Triggers the following webhook events:- NOTIFY_USER (async): A notification for invoice send"""type InvoiceSendNotification @doc(category: "Orders") @webhookEventsInfo(asyncEvents: [INVOICE_SENT, NOTIFY_USER], syncEvents: []) {- invoiceErrors: [InvoiceError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ invoiceErrors: [InvoiceError!]! @deprecated(reason: "Use `errors` field instead.")errors: [InvoiceError!]!invoice: Invoice}@@ -25196,7 +24848,7 @@ Triggers the following webhook events:type GiftCardActivate @doc(category: "Gift cards") @webhookEventsInfo(asyncEvents: [GIFT_CARD_STATUS_CHANGED], syncEvents: []) {"""Activated gift card."""giftCard: GiftCard- giftCardErrors: [GiftCardError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ giftCardErrors: [GiftCardError!]! @deprecated(reason: "Use `errors` field instead.")errors: [GiftCardError!]!}@@ -25237,7 +24889,7 @@ Triggers the following webhook events:- NOTIFY_USER (async): A notification for created gift card."""type GiftCardCreate @doc(category: "Gift cards") @webhookEventsInfo(asyncEvents: [GIFT_CARD_CREATED, NOTIFY_USER], syncEvents: []) {- giftCardErrors: [GiftCardError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ giftCardErrors: [GiftCardError!]! @deprecated(reason: "Use `errors` field instead.")errors: [GiftCardError!]!giftCard: GiftCard}@@ -25263,19 +24915,11 @@ input GiftCardCreateInput @doc(category: "Gift cards") {"""privateMetadata: [MetadataInput!]- """- Start date of the gift card in ISO 8601 format.-- DEPRECATED: this field will be removed in Saleor 4.0.- """- startDate: Date+ """Start date of the gift card in ISO 8601 format."""+ startDate: Date @deprecated- """- End date of the gift card in ISO 8601 format.-- DEPRECATED: this field will be removed in Saleor 4.0. Use `expiryDate` from `expirySettings` instead.- """- endDate: Date+ """End date of the gift card in ISO 8601 format."""+ endDate: Date @deprecated(reason: "Use `expiryDate` from `expirySettings` instead.")"""Balance of the gift card."""balance: PriceInput!@@ -25289,12 +24933,8 @@ input GiftCardCreateInput @doc(category: "Gift cards") {"""Determine if gift card is active."""isActive: Boolean!- """- Code to use the gift card.-- DEPRECATED: this field will be removed in Saleor 4.0. The code is now auto generated.- """- code: String+ """Code to use the gift card."""+ code: String @deprecated(reason: "The code is now auto generated.")"""The gift card note from the staff member."""note: String@@ -25317,7 +24957,7 @@ Triggers the following webhook events:- GIFT_CARD_DELETED (async): A gift card was deleted."""type GiftCardDelete @doc(category: "Gift cards") @webhookEventsInfo(asyncEvents: [GIFT_CARD_DELETED], syncEvents: []) {- giftCardErrors: [GiftCardError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ giftCardErrors: [GiftCardError!]! @deprecated(reason: "Use `errors` field instead.")errors: [GiftCardError!]!giftCard: GiftCard}@@ -25333,7 +24973,7 @@ Triggers the following webhook events:type GiftCardDeactivate @doc(category: "Gift cards") @webhookEventsInfo(asyncEvents: [GIFT_CARD_STATUS_CHANGED], syncEvents: []) {"""Deactivated gift card."""giftCard: GiftCard- giftCardErrors: [GiftCardError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ giftCardErrors: [GiftCardError!]! @deprecated(reason: "Use `errors` field instead.")errors: [GiftCardError!]!}@@ -25346,7 +24986,7 @@ Triggers the following webhook events:- GIFT_CARD_UPDATED (async): A gift card was updated."""type GiftCardUpdate @doc(category: "Gift cards") @webhookEventsInfo(asyncEvents: [GIFT_CARD_UPDATED], syncEvents: []) {- giftCardErrors: [GiftCardError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ giftCardErrors: [GiftCardError!]! @deprecated(reason: "Use `errors` field instead.")errors: [GiftCardError!]!giftCard: GiftCard}@@ -25372,19 +25012,11 @@ input GiftCardUpdateInput @doc(category: "Gift cards") {"""privateMetadata: [MetadataInput!]- """- Start date of the gift card in ISO 8601 format.-- DEPRECATED: this field will be removed in Saleor 4.0.- """- startDate: Date+ """Start date of the gift card in ISO 8601 format."""+ startDate: Date @deprecated- """- End date of the gift card in ISO 8601 format.-- DEPRECATED: this field will be removed in Saleor 4.0. Use `expiryDate` from `expirySettings` instead.- """- endDate: Date+ """End date of the gift card in ISO 8601 format."""+ endDate: Date @deprecated(reason: "Use `expiryDate` from `expirySettings` instead.")"""The gift card tags to remove."""removeTags: [String!]@@ -25524,7 +25156,7 @@ Requires one of the following permissions: MANAGE_PLUGINS."""type PluginUpdate {plugin: Plugin- pluginsErrors: [PluginError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ pluginsErrors: [PluginError!]! @deprecated(reason: "Use `errors` field instead.")errors: [PluginError!]!}@@ -26213,9 +25845,7 @@ enum DiscountErrorCode @doc(category: "Discounts") {}"""-Creates a new sale.--DEPRECATED: this mutation will be removed in Saleor 4.0. Use `promotionCreate` mutation instead.+Creates a new sale.Requires one of the following permissions: MANAGE_DISCOUNTS.@@ -26223,7 +25853,7 @@ Triggers the following webhook events:- SALE_CREATED (async): A sale was created."""type SaleCreate @doc(category: "Discounts") @webhookEventsInfo(asyncEvents: [SALE_CREATED], syncEvents: []) {- discountErrors: [DiscountError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ discountErrors: [DiscountError!]! @deprecated(reason: "Use `errors` field instead.")errors: [DiscountError!]!sale: Sale}@@ -26256,9 +25886,7 @@ input SaleInput @doc(category: "Discounts") {}"""-Deletes a sale.--DEPRECATED: this mutation will be removed in Saleor 4.0. Use `promotionDelete` mutation instead.+Deletes a sale.Requires one of the following permissions: MANAGE_DISCOUNTS.@@ -26266,7 +25894,7 @@ Triggers the following webhook events:- SALE_DELETED (async): A sale was deleted."""type SaleDelete @doc(category: "Discounts") @webhookEventsInfo(asyncEvents: [SALE_DELETED], syncEvents: []) {- discountErrors: [DiscountError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ discountErrors: [DiscountError!]! @deprecated(reason: "Use `errors` field instead.")errors: [DiscountError!]!sale: Sale}@@ -26282,14 +25910,12 @@ Triggers the following webhook events:type SaleBulkDelete @doc(category: "Discounts") @webhookEventsInfo(asyncEvents: [SALE_DELETED], syncEvents: []) {"""Returns how many objects were affected."""count: Int!- discountErrors: [DiscountError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ discountErrors: [DiscountError!]! @deprecated(reason: "Use `errors` field instead.")errors: [DiscountError!]!}"""-Updates a sale.--DEPRECATED: this mutation will be removed in Saleor 4.0. Use `promotionUpdate` mutation instead.+Updates a sale.Requires one of the following permissions: MANAGE_DISCOUNTS.@@ -26298,15 +25924,13 @@ Triggers the following webhook events:- SALE_TOGGLE (async): Optionally triggered when a sale is started or stopped."""type SaleUpdate @doc(category: "Discounts") @webhookEventsInfo(asyncEvents: [SALE_UPDATED, SALE_TOGGLE], syncEvents: []) {- discountErrors: [DiscountError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ discountErrors: [DiscountError!]! @deprecated(reason: "Use `errors` field instead.")errors: [DiscountError!]!sale: Sale}"""-Adds products, categories, collections to a sale.--DEPRECATED: this mutation will be removed in Saleor 4.0. Use `promotionRuleCreate` mutation instead.+Adds products, categories, collections to a sale.Requires one of the following permissions: MANAGE_DISCOUNTS.@@ -26316,7 +25940,7 @@ Triggers the following webhook events:type SaleAddCatalogues @doc(category: "Discounts") @webhookEventsInfo(asyncEvents: [SALE_UPDATED], syncEvents: []) {"""Sale of which catalogue IDs will be modified."""sale: Sale- discountErrors: [DiscountError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ discountErrors: [DiscountError!]! @deprecated(reason: "Use `errors` field instead.")errors: [DiscountError!]!}@@ -26335,9 +25959,7 @@ input CatalogueInput @doc(category: "Discounts") {}"""-Removes products, categories, collections from a sale.--DEPRECATED: this mutation will be removed in Saleor 4.0. Use `promotionRuleUpdate` or `promotionRuleDelete` mutations instead.+Removes products, categories, collections from a sale.Requires one of the following permissions: MANAGE_DISCOUNTS.@@ -26347,34 +25969,30 @@ Triggers the following webhook events:type SaleRemoveCatalogues @doc(category: "Discounts") @webhookEventsInfo(asyncEvents: [SALE_UPDATED], syncEvents: []) {"""Sale of which catalogue IDs will be modified."""sale: Sale- discountErrors: [DiscountError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ discountErrors: [DiscountError!]! @deprecated(reason: "Use `errors` field instead.")errors: [DiscountError!]!}"""-Creates/updates translations for a sale.--DEPRECATED: this mutation will be removed in Saleor 4.0. Use `PromotionTranslate` mutation instead.+Creates/updates translations for a sale.Requires one of the following permissions: MANAGE_TRANSLATIONS."""type SaleTranslate @doc(category: "Discounts") {- translationErrors: [TranslationError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ translationErrors: [TranslationError!]! @deprecated(reason: "Use `errors` field instead.")errors: [TranslationError!]!sale: Sale}"""-Manage sale's availability in channels.--DEPRECATED: this mutation will be removed in Saleor 4.0. Use `promotionRuleCreate` or `promotionRuleUpdate` mutations instead.+Manage sale's availability in channels.Requires one of the following permissions: MANAGE_DISCOUNTS."""type SaleChannelListingUpdate @doc(category: "Discounts") {"""An updated sale instance."""sale: Sale- discountErrors: [DiscountError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ discountErrors: [DiscountError!]! @deprecated(reason: "Use `errors` field instead.")errors: [DiscountError!]!}@@ -26404,7 +26022,7 @@ Triggers the following webhook events:- VOUCHER_CODES_CREATED (async): A voucher codes were created."""type VoucherCreate @doc(category: "Discounts") @webhookEventsInfo(asyncEvents: [VOUCHER_CREATED, VOUCHER_CODES_CREATED], syncEvents: []) {- discountErrors: [DiscountError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ discountErrors: [DiscountError!]! @deprecated(reason: "Use `errors` field instead.")errors: [DiscountError!]!voucher: Voucher}@@ -26416,10 +26034,8 @@ input VoucherInput @doc(category: "Discounts") {"""Voucher name."""name: String- """- Code to use the voucher. This field will be removed in Saleor 4.0. Use `addCodes` instead.- """- code: String+ """Code to use the voucher."""+ code: String @deprecated(reason: "Use `addCodes` instead.")"""List of codes to add.@@ -26490,7 +26106,7 @@ Triggers the following webhook events:- VOUCHER_DELETED (async): A voucher was deleted."""type VoucherDelete @doc(category: "Discounts") @webhookEventsInfo(asyncEvents: [VOUCHER_DELETED], syncEvents: []) {- discountErrors: [DiscountError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ discountErrors: [DiscountError!]! @deprecated(reason: "Use `errors` field instead.")errors: [DiscountError!]!voucher: Voucher}@@ -26506,7 +26122,7 @@ Triggers the following webhook events:type VoucherBulkDelete @doc(category: "Discounts") @webhookEventsInfo(asyncEvents: [VOUCHER_DELETED], syncEvents: []) {"""Returns how many objects were affected."""count: Int!- discountErrors: [DiscountError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ discountErrors: [DiscountError!]! @deprecated(reason: "Use `errors` field instead.")errors: [DiscountError!]!}@@ -26520,7 +26136,7 @@ Triggers the following webhook events:- VOUCHER_CODES_CREATED (async): A voucher code was created."""type VoucherUpdate @doc(category: "Discounts") @webhookEventsInfo(asyncEvents: [VOUCHER_UPDATED, VOUCHER_CODES_CREATED], syncEvents: []) {- discountErrors: [DiscountError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ discountErrors: [DiscountError!]! @deprecated(reason: "Use `errors` field instead.")errors: [DiscountError!]!voucher: Voucher}@@ -26536,7 +26152,7 @@ Triggers the following webhook events:type VoucherAddCatalogues @doc(category: "Discounts") @webhookEventsInfo(asyncEvents: [VOUCHER_UPDATED], syncEvents: []) {"""Voucher of which catalogue IDs will be modified."""voucher: Voucher- discountErrors: [DiscountError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ discountErrors: [DiscountError!]! @deprecated(reason: "Use `errors` field instead.")errors: [DiscountError!]!}@@ -26551,7 +26167,7 @@ Triggers the following webhook events:type VoucherRemoveCatalogues @doc(category: "Discounts") @webhookEventsInfo(asyncEvents: [VOUCHER_UPDATED], syncEvents: []) {"""Voucher of which catalogue IDs will be modified."""voucher: Voucher- discountErrors: [DiscountError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ discountErrors: [DiscountError!]! @deprecated(reason: "Use `errors` field instead.")errors: [DiscountError!]!}@@ -26561,7 +26177,7 @@ Creates/updates translations for a voucher.Requires one of the following permissions: MANAGE_TRANSLATIONS."""type VoucherTranslate @doc(category: "Discounts") {- translationErrors: [TranslationError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ translationErrors: [TranslationError!]! @deprecated(reason: "Use `errors` field instead.")errors: [TranslationError!]!voucher: Voucher}@@ -26577,7 +26193,7 @@ Triggers the following webhook events:type VoucherChannelListingUpdate @doc(category: "Discounts") @webhookEventsInfo(asyncEvents: [VOUCHER_UPDATED], syncEvents: []) {"""An updated voucher instance."""voucher: Voucher- discountErrors: [DiscountError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ discountErrors: [DiscountError!]! @deprecated(reason: "Use `errors` field instead.")errors: [DiscountError!]!}@@ -26652,7 +26268,7 @@ type ExportProducts @doc(category: "Products") @webhookEventsInfo(asyncEvents: [The newly created export file job which is responsible for export data."""exportFile: ExportFile- exportErrors: [ExportError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ exportErrors: [ExportError!]! @deprecated(reason: "Use `errors` field instead.")errors: [ExportError!]!}@@ -26809,7 +26425,7 @@ Requires one of the following permissions: AUTHENTICATED_APP, AUTHENTICATED_STAF"""type FileUpload {uploadedFile: File- uploadErrors: [UploadError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ uploadErrors: [UploadError!]! @deprecated(reason: "Use `errors` field instead.")errors: [UploadError!]!}@@ -26839,7 +26455,7 @@ Triggers the following webhook events:type CheckoutAddPromoCode @doc(category: "Checkout") @webhookEventsInfo(asyncEvents: [CHECKOUT_UPDATED], syncEvents: []) {"""The checkout with the added gift card or voucher."""checkout: Checkout- checkoutErrors: [CheckoutError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ checkoutErrors: [CheckoutError!]! @deprecated(reason: "Use `errors` field instead.")errors: [CheckoutError!]!}@@ -26909,7 +26525,7 @@ Triggers the following webhook events:type CheckoutBillingAddressUpdate @doc(category: "Checkout") @webhookEventsInfo(asyncEvents: [CHECKOUT_UPDATED], syncEvents: []) {"""An updated checkout."""checkout: Checkout- checkoutErrors: [CheckoutError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ checkoutErrors: [CheckoutError!]! @deprecated(reason: "Use `errors` field instead.")errors: [CheckoutError!]!}@@ -26956,7 +26572,7 @@ type CheckoutComplete @doc(category: "Checkout") @webhookEventsInfo(asyncEvents:"""Confirmation data used to process additional authorization steps."""confirmationData: JSONString- checkoutErrors: [CheckoutError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ checkoutErrors: [CheckoutError!]! @deprecated(reason: "Use `errors` field instead.")errors: [CheckoutError!]!}@@ -26972,8 +26588,8 @@ type CheckoutCreate @doc(category: "Checkout") @webhookEventsInfo(asyncEvents: ["""Whether the checkout was created or the current active one was returned. Refer to checkoutLinesAdd and checkoutLinesUpdate to merge a cart with an active checkout."""- created: Boolean @deprecated(reason: "This field will be removed in Saleor 4.0. Always returns `true`.")- checkoutErrors: [CheckoutError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ created: Boolean @deprecated(reason: "Always returns `true`.")+ checkoutErrors: [CheckoutError!]! @deprecated(reason: "Use `errors` field instead.")errors: [CheckoutError!]!checkout: Checkout}@@ -27119,7 +26735,7 @@ Triggers the following webhook events:type CheckoutCustomerAttach @doc(category: "Checkout") @webhookEventsInfo(asyncEvents: [CHECKOUT_UPDATED], syncEvents: []) {"""An updated checkout."""checkout: Checkout- checkoutErrors: [CheckoutError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ checkoutErrors: [CheckoutError!]! @deprecated(reason: "Use `errors` field instead.")errors: [CheckoutError!]!}@@ -27134,7 +26750,7 @@ Triggers the following webhook events:type CheckoutCustomerDetach @doc(category: "Checkout") @webhookEventsInfo(asyncEvents: [CHECKOUT_UPDATED], syncEvents: []) {"""An updated checkout."""checkout: Checkout- checkoutErrors: [CheckoutError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ checkoutErrors: [CheckoutError!]! @deprecated(reason: "Use `errors` field instead.")errors: [CheckoutError!]!}@@ -27149,7 +26765,7 @@ Triggers the following webhook events:type CheckoutCustomerNoteUpdate @doc(category: "Checkout") @webhookEventsInfo(asyncEvents: [CHECKOUT_UPDATED], syncEvents: []) {"""An updated checkout."""checkout: Checkout- checkoutErrors: [CheckoutError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ checkoutErrors: [CheckoutError!]! @deprecated(reason: "Use `errors` field instead.")errors: [CheckoutError!]!}@@ -27162,7 +26778,7 @@ Triggers the following webhook events:type CheckoutEmailUpdate @doc(category: "Checkout") @webhookEventsInfo(asyncEvents: [CHECKOUT_UPDATED], syncEvents: []) {"""An updated checkout."""checkout: Checkout- checkoutErrors: [CheckoutError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ checkoutErrors: [CheckoutError!]! @deprecated(reason: "Use `errors` field instead.")errors: [CheckoutError!]!}@@ -27175,7 +26791,7 @@ Triggers the following webhook events:type CheckoutLineDelete @doc(category: "Checkout") @webhookEventsInfo(asyncEvents: [CHECKOUT_UPDATED], syncEvents: []) {"""An updated checkout."""checkout: Checkout- checkoutErrors: [CheckoutError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ checkoutErrors: [CheckoutError!]! @deprecated(reason: "Use `errors` field instead.")errors: [CheckoutError!]!}@@ -27200,7 +26816,7 @@ Triggers the following webhook events:type CheckoutLinesAdd @doc(category: "Checkout") @webhookEventsInfo(asyncEvents: [CHECKOUT_UPDATED], syncEvents: []) {"""An updated checkout."""checkout: Checkout- checkoutErrors: [CheckoutError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ checkoutErrors: [CheckoutError!]! @deprecated(reason: "Use `errors` field instead.")errors: [CheckoutError!]!}@@ -27213,17 +26829,13 @@ Triggers the following webhook events:type CheckoutLinesUpdate @doc(category: "Checkout") @webhookEventsInfo(asyncEvents: [CHECKOUT_UPDATED], syncEvents: []) {"""An updated checkout."""checkout: Checkout- checkoutErrors: [CheckoutError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ checkoutErrors: [CheckoutError!]! @deprecated(reason: "Use `errors` field instead.")errors: [CheckoutError!]!}input CheckoutLineUpdateInput @doc(category: "Checkout") {- """- ID of the product variant.-- DEPRECATED: this field will be removed in Saleor 4.0. Use `lineId` instead.- """- variantId: ID+ """ID of the product variant."""+ variantId: ID @deprecated(reason: "Use `lineId` instead.")"""The number of items purchased. Optional for apps, required for any other users.@@ -27248,7 +26860,7 @@ Triggers the following webhook events:type CheckoutRemovePromoCode @doc(category: "Checkout") @webhookEventsInfo(asyncEvents: [CHECKOUT_UPDATED], syncEvents: []) {"""The checkout with the removed gift card or voucher."""checkout: Checkout- checkoutErrors: [CheckoutError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ checkoutErrors: [CheckoutError!]! @deprecated(reason: "Use `errors` field instead.")errors: [CheckoutError!]!}@@ -27259,7 +26871,7 @@ type CheckoutPaymentCreate @doc(category: "Checkout") {"""A newly created payment."""payment: Payment- paymentErrors: [PaymentError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ paymentErrors: [PaymentError!]! @deprecated(reason: "Use `errors` field instead.")errors: [PaymentError!]!}@@ -27314,7 +26926,7 @@ Triggers the following webhook events:type CheckoutShippingAddressUpdate @doc(category: "Checkout") @webhookEventsInfo(asyncEvents: [CHECKOUT_UPDATED], syncEvents: []) {"""An updated checkout."""checkout: Checkout- checkoutErrors: [CheckoutError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ checkoutErrors: [CheckoutError!]! @deprecated(reason: "Use `errors` field instead.")errors: [CheckoutError!]!}@@ -27328,7 +26940,7 @@ Triggers the following webhook events:type CheckoutShippingMethodUpdate @doc(category: "Checkout") @webhookEventsInfo(asyncEvents: [CHECKOUT_UPDATED], syncEvents: [SHIPPING_LIST_METHODS_FOR_CHECKOUT]) {"""An updated checkout."""checkout: Checkout- checkoutErrors: [CheckoutError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ checkoutErrors: [CheckoutError!]! @deprecated(reason: "Use `errors` field instead.")errors: [CheckoutError!]!}@@ -27354,7 +26966,7 @@ Triggers the following webhook events:type CheckoutLanguageCodeUpdate @doc(category: "Checkout") @webhookEventsInfo(asyncEvents: [CHECKOUT_UPDATED], syncEvents: []) {"""An updated checkout."""checkout: Checkout- checkoutErrors: [CheckoutError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ checkoutErrors: [CheckoutError!]! @deprecated(reason: "Use `errors` field instead.")errors: [CheckoutError!]!}@@ -27424,7 +27036,7 @@ Triggers the following webhook events:- CHANNEL_CREATED (async): A channel was created."""type ChannelCreate @doc(category: "Channels") @webhookEventsInfo(asyncEvents: [CHANNEL_CREATED], syncEvents: []) {- channelErrors: [ChannelError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ channelErrors: [ChannelError!]! @deprecated(reason: "Use `errors` field instead.")errors: [ChannelError!]!channel: Channel}@@ -27566,11 +27178,9 @@ input OrderSettingsInput @doc(category: "Orders") {input CheckoutSettingsInput @doc(category: "Checkout") {"""- Default `true`. Determines if the checkout mutations should use legacy error flow. In legacy flow, all mutations can raise an exception unrelated to the requested action - (e.g. out-of-stock exception when updating checkoutShippingAddress.) If `false`, the errors will be aggregated in `checkout.problems` field. Some of the `problems` can block the finalizing checkout process. The legacy flow will be removed in Saleor 4.0. The flow with `checkout.problems` will be the default one.-- DEPRECATED: this field will be removed in Saleor 4.0.+ Default `true`. Determines if the checkout mutations should use legacy error flow. In legacy flow, all mutations can raise an exception unrelated to the requested action - (e.g. out-of-stock exception when updating checkoutShippingAddress.) If `false`, the errors will be aggregated in `checkout.problems` field. Some of the `problems` can block the finalizing checkout process. The legacy flow will be removed in Saleor 4.0. The flow with `checkout.problems` will be the default one."""- useLegacyErrorFlow: Boolean+ useLegacyErrorFlow: Boolean @deprecated"""Default `false`. Determines if the paid checkouts should be automatically completed. This setting applies only to checkouts where payment was processed through transactions.When enabled, the checkout will be automatically completed once the checkout `charge_status` reaches `FULL`. This occurs when the total sum of charged and authorized transaction amounts equals or exceeds the checkout's total amount.@@ -27600,7 +27210,7 @@ Triggers the following webhook events:- CHANNEL_METADATA_UPDATED (async): Optionally triggered when public or private metadata is updated."""type ChannelUpdate @doc(category: "Channels") @webhookEventsInfo(asyncEvents: [CHANNEL_UPDATED, CHANNEL_METADATA_UPDATED], syncEvents: []) {- channelErrors: [ChannelError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ channelErrors: [ChannelError!]! @deprecated(reason: "Use `errors` field instead.")errors: [ChannelError!]!channel: Channel}@@ -27660,7 +27270,7 @@ Triggers the following webhook events:- CHANNEL_DELETED (async): A channel was deleted."""type ChannelDelete @doc(category: "Channels") @webhookEventsInfo(asyncEvents: [CHANNEL_DELETED], syncEvents: []) {- channelErrors: [ChannelError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ channelErrors: [ChannelError!]! @deprecated(reason: "Use `errors` field instead.")errors: [ChannelError!]!channel: Channel}@@ -27683,7 +27293,7 @@ Triggers the following webhook events:type ChannelActivate @doc(category: "Channels") @webhookEventsInfo(asyncEvents: [CHANNEL_STATUS_CHANGED], syncEvents: []) {"""Activated channel."""channel: Channel- channelErrors: [ChannelError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ channelErrors: [ChannelError!]! @deprecated(reason: "Use `errors` field instead.")errors: [ChannelError!]!}@@ -27698,7 +27308,7 @@ Triggers the following webhook events:type ChannelDeactivate @doc(category: "Channels") @webhookEventsInfo(asyncEvents: [CHANNEL_STATUS_CHANGED], syncEvents: []) {"""Deactivated channel."""channel: Channel- channelErrors: [ChannelError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ channelErrors: [ChannelError!]! @deprecated(reason: "Use `errors` field instead.")errors: [ChannelError!]!}@@ -27721,7 +27331,7 @@ Triggers the following webhook events:"""type AttributeCreate @doc(category: "Attributes") @webhookEventsInfo(asyncEvents: [ATTRIBUTE_CREATED], syncEvents: []) {attribute: Attribute- attributeErrors: [AttributeError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ attributeErrors: [AttributeError!]! @deprecated(reason: "Use `errors` field instead.")errors: [AttributeError!]!}@@ -27783,29 +27393,19 @@ input AttributeCreateInput @doc(category: "Attributes") {"""Whether the attribute should be visible or not in storefront."""visibleInStorefront: Boolean- """- Whether the attribute can be filtered in storefront.-- DEPRECATED: this field will be removed in Saleor 4.0.- """- filterableInStorefront: Boolean+ """Whether the attribute can be filtered in storefront."""+ filterableInStorefront: Boolean @deprecated"""Whether the attribute can be filtered in dashboard."""filterableInDashboard: Boolean"""The position of the attribute in the storefront navigation (0 by default).-- DEPRECATED: this field will be removed in Saleor 4.0."""- storefrontSearchPosition: Int+ storefrontSearchPosition: Int @deprecated- """- Whether the attribute can be displayed in the admin product list.-- DEPRECATED: this field will be removed in Saleor 4.0.- """- availableInGrid: Boolean+ """Whether the attribute can be displayed in the admin product list."""+ availableInGrid: Boolean @deprecated"""External ID of this attribute."""externalReference: String@@ -27821,17 +27421,13 @@ input AttributeValueCreateInput @doc(category: "Attributes") {Represents the text of the attribute value, includes formatting.Rich text format. For reference see https://editorjs.io/-- DEPRECATED: this field will be removed in Saleor 4.0.The rich text attribute hasn't got predefined value, so can be specified only from instance that supports the given attribute."""- richText: JSONString+ richText: JSONString @deprecated(reason: "The rich text attribute hasn't got predefined value, so can be specified only from instance that supports the given attribute.")"""Represents the text of the attribute value, plain text without formatting.-- DEPRECATED: this field will be removed in Saleor 4.0.The plain text attribute hasn't got predefined value, so can be specified only from instance that supports the given attribute."""- plainText: String+ plainText: String @deprecated(reason: "The plain text attribute hasn't got predefined value, so can be specified only from instance that supports the given attribute.")"""URL of the file attribute. Every time, a new value is created."""fileUrl: String@@ -27855,7 +27451,7 @@ Triggers the following webhook events:- ATTRIBUTE_DELETED (async): An attribute was deleted."""type AttributeDelete @doc(category: "Attributes") @webhookEventsInfo(asyncEvents: [ATTRIBUTE_DELETED], syncEvents: []) {- attributeErrors: [AttributeError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ attributeErrors: [AttributeError!]! @deprecated(reason: "Use `errors` field instead.")errors: [AttributeError!]!attribute: Attribute}@@ -27870,7 +27466,7 @@ Triggers the following webhook events:"""type AttributeUpdate @doc(category: "Attributes") @webhookEventsInfo(asyncEvents: [ATTRIBUTE_UPDATED], syncEvents: []) {attribute: Attribute- attributeErrors: [AttributeError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ attributeErrors: [AttributeError!]! @deprecated(reason: "Use `errors` field instead.")errors: [AttributeError!]!}@@ -27904,29 +27500,19 @@ input AttributeUpdateInput @doc(category: "Attributes") {"""Whether the attribute should be visible or not in storefront."""visibleInStorefront: Boolean- """- Whether the attribute can be filtered in storefront.-- DEPRECATED: this field will be removed in Saleor 4.0.- """- filterableInStorefront: Boolean+ """Whether the attribute can be filtered in storefront."""+ filterableInStorefront: Boolean @deprecated"""Whether the attribute can be filtered in dashboard."""filterableInDashboard: Boolean"""The position of the attribute in the storefront navigation (0 by default).-- DEPRECATED: this field will be removed in Saleor 4.0."""- storefrontSearchPosition: Int+ storefrontSearchPosition: Int @deprecated- """- Whether the attribute can be displayed in the admin product list.-- DEPRECATED: this field will be removed in Saleor 4.0.- """- availableInGrid: Boolean+ """Whether the attribute can be displayed in the admin product list."""+ availableInGrid: Boolean @deprecated"""External ID of this product."""externalReference: String@@ -27942,17 +27528,13 @@ input AttributeValueUpdateInput @doc(category: "Attributes") {Represents the text of the attribute value, includes formatting.Rich text format. For reference see https://editorjs.io/-- DEPRECATED: this field will be removed in Saleor 4.0.The rich text attribute hasn't got predefined value, so can be specified only from instance that supports the given attribute."""- richText: JSONString+ richText: JSONString @deprecated(reason: "The rich text attribute hasn't got predefined value, so can be specified only from instance that supports the given attribute.")"""Represents the text of the attribute value, plain text without formatting.-- DEPRECATED: this field will be removed in Saleor 4.0.The plain text attribute hasn't got predefined value, so can be specified only from instance that supports the given attribute."""- plainText: String+ plainText: String @deprecated(reason: "The plain text attribute hasn't got predefined value, so can be specified only from instance that supports the given attribute.")"""URL of the file attribute. Every time, a new value is created."""fileUrl: String@@ -28082,7 +27664,7 @@ Creates/updates translations for an attribute.Requires one of the following permissions: MANAGE_TRANSLATIONS."""type AttributeTranslate @doc(category: "Attributes") {- translationErrors: [TranslationError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ translationErrors: [TranslationError!]! @deprecated(reason: "Use `errors` field instead.")errors: [TranslationError!]!attribute: Attribute}@@ -28154,7 +27736,7 @@ Triggers the following webhook events:type AttributeBulkDelete @doc(category: "Attributes") @webhookEventsInfo(asyncEvents: [ATTRIBUTE_DELETED], syncEvents: []) {"""Returns how many objects were affected."""count: Int!- attributeErrors: [AttributeError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ attributeErrors: [AttributeError!]! @deprecated(reason: "Use `errors` field instead.")errors: [AttributeError!]!}@@ -28170,7 +27752,7 @@ Triggers the following webhook events:type AttributeValueBulkDelete @doc(category: "Attributes") @webhookEventsInfo(asyncEvents: [ATTRIBUTE_VALUE_DELETED, ATTRIBUTE_UPDATED], syncEvents: []) {"""Returns how many objects were affected."""count: Int!- attributeErrors: [AttributeError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ attributeErrors: [AttributeError!]! @deprecated(reason: "Use `errors` field instead.")errors: [AttributeError!]!}@@ -28186,7 +27768,7 @@ Triggers the following webhook events:type AttributeValueCreate @doc(category: "Attributes") @webhookEventsInfo(asyncEvents: [ATTRIBUTE_VALUE_CREATED, ATTRIBUTE_UPDATED], syncEvents: []) {"""The updated attribute."""attribute: Attribute- attributeErrors: [AttributeError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ attributeErrors: [AttributeError!]! @deprecated(reason: "Use `errors` field instead.")errors: [AttributeError!]!attributeValue: AttributeValue}@@ -28203,7 +27785,7 @@ Triggers the following webhook events:type AttributeValueDelete @doc(category: "Attributes") @webhookEventsInfo(asyncEvents: [ATTRIBUTE_VALUE_DELETED, ATTRIBUTE_UPDATED], syncEvents: []) {"""The updated attribute."""attribute: Attribute- attributeErrors: [AttributeError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ attributeErrors: [AttributeError!]! @deprecated(reason: "Use `errors` field instead.")errors: [AttributeError!]!attributeValue: AttributeValue}@@ -28220,7 +27802,7 @@ Triggers the following webhook events:type AttributeValueUpdate @doc(category: "Attributes") @webhookEventsInfo(asyncEvents: [ATTRIBUTE_VALUE_UPDATED, ATTRIBUTE_UPDATED], syncEvents: []) {"""The updated attribute."""attribute: Attribute- attributeErrors: [AttributeError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ attributeErrors: [AttributeError!]! @deprecated(reason: "Use `errors` field instead.")errors: [AttributeError!]!attributeValue: AttributeValue}@@ -28301,7 +27883,7 @@ Creates/updates translations for an attribute value.Requires one of the following permissions: MANAGE_TRANSLATIONS."""type AttributeValueTranslate @doc(category: "Attributes") {- translationErrors: [TranslationError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ translationErrors: [TranslationError!]! @deprecated(reason: "Use `errors` field instead.")errors: [TranslationError!]!attributeValue: AttributeValue}@@ -28318,7 +27900,7 @@ Triggers the following webhook events:type AttributeReorderValues @doc(category: "Attributes") @webhookEventsInfo(asyncEvents: [ATTRIBUTE_VALUE_UPDATED, ATTRIBUTE_UPDATED], syncEvents: []) {"""Attribute from which values are reordered."""attribute: Attribute- attributeErrors: [AttributeError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ attributeErrors: [AttributeError!]! @deprecated(reason: "Use `errors` field instead.")errors: [AttributeError!]!}@@ -28331,7 +27913,7 @@ Triggers the following webhook events:type AppCreate @doc(category: "Apps") @webhookEventsInfo(asyncEvents: [APP_INSTALLED], syncEvents: []) {"""The newly created authentication token."""authToken: String- appErrors: [AppError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ appErrors: [AppError!]! @deprecated(reason: "Use `errors` field instead.")errors: [AppError!]!app: App}@@ -28394,7 +27976,7 @@ Triggers the following webhook events:- APP_UPDATED (async): An app was updated."""type AppUpdate @doc(category: "Apps") @webhookEventsInfo(asyncEvents: [APP_UPDATED], syncEvents: []) {- appErrors: [AppError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ appErrors: [AppError!]! @deprecated(reason: "Use `errors` field instead.")errors: [AppError!]!app: App}@@ -28408,7 +27990,7 @@ Triggers the following webhook events:- APP_DELETED (async): An app was deleted."""type AppDelete @doc(category: "Apps") @webhookEventsInfo(asyncEvents: [APP_DELETED], syncEvents: []) {- appErrors: [AppError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ appErrors: [AppError!]! @deprecated(reason: "Use `errors` field instead.")errors: [AppError!]!app: App}@@ -28421,7 +28003,7 @@ Requires one of the following permissions: MANAGE_APPS.type AppTokenCreate @doc(category: "Apps") {"""The newly created authentication token."""authToken: String- appErrors: [AppError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ appErrors: [AppError!]! @deprecated(reason: "Use `errors` field instead.")errors: [AppError!]!appToken: AppToken}@@ -28440,7 +28022,7 @@ Deletes an authentication token assigned to app.Requires one of the following permissions: MANAGE_APPS."""type AppTokenDelete @doc(category: "Apps") {- appErrors: [AppError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ appErrors: [AppError!]! @deprecated(reason: "Use `errors` field instead.")errors: [AppError!]!appToken: AppToken}@@ -28449,7 +28031,7 @@ type AppTokenDelete @doc(category: "Apps") {type AppTokenVerify @doc(category: "Apps") {"""Determine if token is valid or not."""valid: Boolean!- appErrors: [AppError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ appErrors: [AppError!]! @deprecated(reason: "Use `errors` field instead.")errors: [AppError!]!}@@ -28457,7 +28039,7 @@ type AppTokenVerify @doc(category: "Apps") {Install new app by using app manifest. Requires the following permissions: AUTHENTICATED_STAFF_USER and MANAGE_APPS."""type AppInstall @doc(category: "Apps") {- appErrors: [AppError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ appErrors: [AppError!]! @deprecated(reason: "Use `errors` field instead.")errors: [AppError!]!appInstallation: AppInstallation}@@ -28485,7 +28067,7 @@ Triggers the following webhook events:- APP_INSTALLED (async): An app was installed."""type AppRetryInstall @doc(category: "Apps") @webhookEventsInfo(asyncEvents: [APP_INSTALLED], syncEvents: []) {- appErrors: [AppError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ appErrors: [AppError!]! @deprecated(reason: "Use `errors` field instead.")errors: [AppError!]!appInstallation: AppInstallation}@@ -28496,7 +28078,7 @@ Delete failed installation.Requires one of the following permissions: MANAGE_APPS."""type AppDeleteFailedInstallation @doc(category: "Apps") {- appErrors: [AppError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ appErrors: [AppError!]! @deprecated(reason: "Use `errors` field instead.")errors: [AppError!]!appInstallation: AppInstallation}@@ -28509,7 +28091,7 @@ Requires one of the following permissions: MANAGE_APPS.type AppFetchManifest @doc(category: "Apps") {"""The validated manifest."""manifest: Manifest- appErrors: [AppError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ appErrors: [AppError!]! @deprecated(reason: "Use `errors` field instead.")errors: [AppError!]!}@@ -28534,7 +28116,7 @@ type Manifest @doc(category: "Apps") {appUrl: String"""URL to iframe with the configuration for the app."""- configurationUrl: String @deprecated(reason: "This field will be removed in Saleor 4.0. Use `appUrl` instead.")+ configurationUrl: String @deprecated(reason: "Use `appUrl` instead.")"""Endpoint used during process of app installation, [see installing an app.](https://docs.saleor.io/docs/3.x/developer/extending/apps/installing-apps#installing-an-app)@@ -28542,7 +28124,7 @@ type Manifest @doc(category: "Apps") {tokenTargetUrl: String"""Description of the data privacy defined for this app."""- dataPrivacy: String @deprecated(reason: "This field will be removed in Saleor 4.0. Use `dataPrivacyUrl` instead.")+ dataPrivacy: String @deprecated(reason: "Use `dataPrivacyUrl` instead.")"""URL to the full privacy policy."""dataPrivacyUrl: String@@ -28647,7 +28229,7 @@ Triggers the following webhook events:- APP_STATUS_CHANGED (async): An app was activated."""type AppActivate @doc(category: "Apps") @webhookEventsInfo(asyncEvents: [APP_STATUS_CHANGED], syncEvents: []) {- appErrors: [AppError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ appErrors: [AppError!]! @deprecated(reason: "Use `errors` field instead.")errors: [AppError!]!app: App}@@ -28661,7 +28243,7 @@ Triggers the following webhook events:- APP_STATUS_CHANGED (async): An app was deactivated."""type AppDeactivate @doc(category: "Apps") @webhookEventsInfo(asyncEvents: [APP_STATUS_CHANGED], syncEvents: []) {- appErrors: [AppError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ appErrors: [AppError!]! @deprecated(reason: "Use `errors` field instead.")errors: [AppError!]!app: App}@@ -28676,7 +28258,7 @@ Requires one of the following permissions: MANAGE_APPS.type AppReenableSyncWebhooks @doc(category: "Apps") {"""App for which sync webhooks were re-enabled."""app: App- appErrors: [AppError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ appErrors: [AppError!]! @deprecated(reason: "Use `errors` field instead.")errors: [AppError!]!}@@ -28693,7 +28275,7 @@ type CreateToken @doc(category: "Authentication") {"""A user instance."""user: User- accountErrors: [AccountError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ accountErrors: [AccountError!]! @deprecated(reason: "Use `errors` field instead.")errors: [AccountError!]!}@@ -28762,7 +28344,7 @@ type RefreshToken @doc(category: "Authentication") {"""A user instance."""user: User- accountErrors: [AccountError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ accountErrors: [AccountError!]! @deprecated(reason: "Use `errors` field instead.")errors: [AccountError!]!}@@ -28776,7 +28358,7 @@ type VerifyToken @doc(category: "Authentication") {"""JWT payload."""payload: GenericScalar- accountErrors: [AccountError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ accountErrors: [AccountError!]! @deprecated(reason: "Use `errors` field instead.")errors: [AccountError!]!}@@ -28793,7 +28375,7 @@ Deactivate all JWT tokens of the currently authenticated user.Requires one of the following permissions: AUTHENTICATED_USER."""type DeactivateAllUserTokens @doc(category: "Authentication") {- accountErrors: [AccountError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ accountErrors: [AccountError!]! @deprecated(reason: "Use `errors` field instead.")errors: [AccountError!]!}@@ -28801,7 +28383,7 @@ type DeactivateAllUserTokens @doc(category: "Authentication") {type ExternalAuthenticationUrl @doc(category: "Authentication") {"""The data returned by authentication plugin."""authenticationData: JSONString- accountErrors: [AccountError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ accountErrors: [AccountError!]! @deprecated(reason: "Use `errors` field instead.")errors: [AccountError!]!}@@ -28818,7 +28400,7 @@ type ExternalObtainAccessTokens @doc(category: "Authentication") {"""A user instance."""user: User- accountErrors: [AccountError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ accountErrors: [AccountError!]! @deprecated(reason: "Use `errors` field instead.")errors: [AccountError!]!}@@ -28835,7 +28417,7 @@ type ExternalRefresh @doc(category: "Authentication") {"""A user instance."""user: User- accountErrors: [AccountError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ accountErrors: [AccountError!]! @deprecated(reason: "Use `errors` field instead.")errors: [AccountError!]!}@@ -28843,7 +28425,7 @@ type ExternalRefresh @doc(category: "Authentication") {type ExternalLogout @doc(category: "Authentication") {"""The data returned by authentication plugin."""logoutData: JSONString- accountErrors: [AccountError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ accountErrors: [AccountError!]! @deprecated(reason: "Use `errors` field instead.")errors: [AccountError!]!}@@ -28857,7 +28439,7 @@ type ExternalVerify @doc(category: "Authentication") {"""External data."""verifyData: JSONString- accountErrors: [AccountError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ accountErrors: [AccountError!]! @deprecated(reason: "Use `errors` field instead.")errors: [AccountError!]!}@@ -28870,7 +28452,7 @@ Triggers the following webhook events:- STAFF_SET_PASSWORD_REQUESTED (async): Setting a new password for the staff account is requested."""type RequestPasswordReset @doc(category: "Users") @webhookEventsInfo(asyncEvents: [NOTIFY_USER, ACCOUNT_SET_PASSWORD_REQUESTED, STAFF_SET_PASSWORD_REQUESTED], syncEvents: []) {- accountErrors: [AccountError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ accountErrors: [AccountError!]! @deprecated(reason: "Use `errors` field instead.")errors: [AccountError!]!}@@ -28916,7 +28498,7 @@ Triggers the following webhook events:type ConfirmAccount @doc(category: "Users") @webhookEventsInfo(asyncEvents: [ACCOUNT_CONFIRMED], syncEvents: []) {"""An activated user account."""user: User- accountErrors: [AccountError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ accountErrors: [AccountError!]! @deprecated(reason: "Use `errors` field instead.")errors: [AccountError!]!}@@ -28935,7 +28517,7 @@ type SetPassword @doc(category: "Users") {"""A user instance."""user: User- accountErrors: [AccountError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ accountErrors: [AccountError!]! @deprecated(reason: "Use `errors` field instead.")errors: [AccountError!]!}@@ -28947,7 +28529,7 @@ Requires one of the following permissions: AUTHENTICATED_USER.type PasswordChange @doc(category: "Users") {"""A user instance with a new password."""user: User- accountErrors: [AccountError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ accountErrors: [AccountError!]! @deprecated(reason: "Use `errors` field instead.")errors: [AccountError!]!}@@ -28963,7 +28545,7 @@ Triggers the following webhook events:type RequestEmailChange @doc(category: "Users") @webhookEventsInfo(asyncEvents: [NOTIFY_USER, ACCOUNT_CHANGE_EMAIL_REQUESTED], syncEvents: []) {"""A user instance."""user: User- accountErrors: [AccountError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ accountErrors: [AccountError!]! @deprecated(reason: "Use `errors` field instead.")errors: [AccountError!]!}@@ -28980,7 +28562,7 @@ Triggers the following webhook events:type ConfirmEmailChange @doc(category: "Users") @webhookEventsInfo(asyncEvents: [CUSTOMER_UPDATED, NOTIFY_USER, ACCOUNT_EMAIL_CHANGED], syncEvents: []) {"""A user instance with a new email."""user: User- accountErrors: [AccountError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ accountErrors: [AccountError!]! @deprecated(reason: "Use `errors` field instead.")errors: [AccountError!]!}@@ -28996,7 +28578,7 @@ Triggers the following webhook events:type AccountAddressCreate @doc(category: "Users") @webhookEventsInfo(asyncEvents: [CUSTOMER_UPDATED, ADDRESS_CREATED], syncEvents: []) {"""A user instance for which the address was created."""user: User- accountErrors: [AccountError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ accountErrors: [AccountError!]! @deprecated(reason: "Use `errors` field instead.")errors: [AccountError!]!address: Address}@@ -29010,7 +28592,7 @@ Triggers the following webhook events:type AccountAddressUpdate @doc(category: "Users") @webhookEventsInfo(asyncEvents: [ADDRESS_UPDATED], syncEvents: []) {"""A user object for which the address was edited."""user: User- accountErrors: [AccountError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ accountErrors: [AccountError!]! @deprecated(reason: "Use `errors` field instead.")errors: [AccountError!]!address: Address}@@ -29024,7 +28606,7 @@ Triggers the following webhook events:type AccountAddressDelete @doc(category: "Users") @webhookEventsInfo(asyncEvents: [ADDRESS_DELETED], syncEvents: []) {"""A user instance for which the address was deleted."""user: User- accountErrors: [AccountError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ accountErrors: [AccountError!]! @deprecated(reason: "Use `errors` field instead.")errors: [AccountError!]!address: Address}@@ -29040,7 +28622,7 @@ Triggers the following webhook events:type AccountSetDefaultAddress @doc(category: "Users") @webhookEventsInfo(asyncEvents: [CUSTOMER_UPDATED], syncEvents: []) {"""An updated user instance."""user: User- accountErrors: [AccountError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ accountErrors: [AccountError!]! @deprecated(reason: "Use `errors` field instead.")errors: [AccountError!]!}@@ -29055,7 +28637,7 @@ Triggers the following webhook events:type AccountRegister @doc(category: "Users") @webhookEventsInfo(asyncEvents: [CUSTOMER_CREATED, NOTIFY_USER, ACCOUNT_CONFIRMATION_REQUESTED], syncEvents: []) {"""Informs whether users need to confirm their email address."""requiresConfirmation: Boolean- accountErrors: [AccountError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ accountErrors: [AccountError!]! @deprecated(reason: "Use `errors` field instead.")errors: [AccountError!]!user: User}@@ -29101,7 +28683,7 @@ Triggers the following webhook events:- CUSTOMER_METADATA_UPDATED (async): Optionally called when customer's metadata was updated."""type AccountUpdate @doc(category: "Users") @webhookEventsInfo(asyncEvents: [CUSTOMER_UPDATED, CUSTOMER_METADATA_UPDATED], syncEvents: []) {- accountErrors: [AccountError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ accountErrors: [AccountError!]! @deprecated(reason: "Use `errors` field instead.")errors: [AccountError!]!user: User}@@ -29137,7 +28719,7 @@ Triggers the following webhook events:- ACCOUNT_DELETE_REQUESTED (async): An account delete requested."""type AccountRequestDeletion @doc(category: "Users") @webhookEventsInfo(asyncEvents: [NOTIFY_USER, ACCOUNT_DELETE_REQUESTED], syncEvents: []) {- accountErrors: [AccountError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ accountErrors: [AccountError!]! @deprecated(reason: "Use `errors` field instead.")errors: [AccountError!]!}@@ -29150,7 +28732,7 @@ Triggers the following webhook events:- ACCOUNT_DELETED (async): Account was deleted."""type AccountDelete @doc(category: "Users") @webhookEventsInfo(asyncEvents: [ACCOUNT_DELETED], syncEvents: []) {- accountErrors: [AccountError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ accountErrors: [AccountError!]! @deprecated(reason: "Use `errors` field instead.")errors: [AccountError!]!user: User}@@ -29166,7 +28748,7 @@ Triggers the following webhook events:type AddressCreate @doc(category: "Users") @webhookEventsInfo(asyncEvents: [ADDRESS_CREATED], syncEvents: []) {"""A user instance for which the address was created."""user: User- accountErrors: [AccountError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ accountErrors: [AccountError!]! @deprecated(reason: "Use `errors` field instead.")errors: [AccountError!]!address: Address}@@ -29182,7 +28764,7 @@ Triggers the following webhook events:type AddressUpdate @doc(category: "Users") @webhookEventsInfo(asyncEvents: [ADDRESS_UPDATED], syncEvents: []) {"""A user object for which the address was edited."""user: User- accountErrors: [AccountError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ accountErrors: [AccountError!]! @deprecated(reason: "Use `errors` field instead.")errors: [AccountError!]!address: Address}@@ -29198,7 +28780,7 @@ Triggers the following webhook events:type AddressDelete @doc(category: "Users") @webhookEventsInfo(asyncEvents: [ADDRESS_DELETED], syncEvents: []) {"""A user instance for which the address was deleted."""user: User- accountErrors: [AccountError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ accountErrors: [AccountError!]! @deprecated(reason: "Use `errors` field instead.")errors: [AccountError!]!address: Address}@@ -29214,7 +28796,7 @@ Triggers the following webhook events:type AddressSetDefault @doc(category: "Users") @webhookEventsInfo(asyncEvents: [CUSTOMER_UPDATED], syncEvents: []) {"""An updated user instance."""user: User- accountErrors: [AccountError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ accountErrors: [AccountError!]! @deprecated(reason: "Use `errors` field instead.")errors: [AccountError!]!}@@ -29230,7 +28812,7 @@ Triggers the following webhook events:- ACCOUNT_SET_PASSWORD_REQUESTED (async): Setting a new password for the account is requested."""type CustomerCreate @doc(category: "Users") @webhookEventsInfo(asyncEvents: [CUSTOMER_CREATED, CUSTOMER_METADATA_UPDATED, NOTIFY_USER, ACCOUNT_SET_PASSWORD_REQUESTED], syncEvents: []) {- accountErrors: [AccountError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ accountErrors: [AccountError!]! @deprecated(reason: "Use `errors` field instead.")errors: [AccountError!]!user: User}@@ -29269,14 +28851,8 @@ input UserCreateInput @doc(category: "Users") {"""External ID of the customer."""externalReference: String- """- User account is confirmed.-- DEPRECATED: this field will be removed in Saleor 4.0.-- The user will be always set as unconfirmed. The confirmation will take place when the user sets the password.- """- isConfirmed: Boolean+ """User account is confirmed."""+ isConfirmed: Boolean @deprecated(reason: "The user will be always set as unconfirmed. The confirmation will take place when the user sets the password.")"""URL of a view where users should be redirected to set the password. URL in RFC 1808 format.@@ -29299,7 +28875,7 @@ Triggers the following webhook events:- CUSTOMER_METADATA_UPDATED (async): Optionally called when customer's metadata was updated."""type CustomerUpdate @doc(category: "Users") @webhookEventsInfo(asyncEvents: [CUSTOMER_UPDATED, CUSTOMER_METADATA_UPDATED], syncEvents: []) {- accountErrors: [AccountError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ accountErrors: [AccountError!]! @deprecated(reason: "Use `errors` field instead.")errors: [AccountError!]!user: User}@@ -29351,7 +28927,7 @@ Triggers the following webhook events:- CUSTOMER_DELETED (async): A customer account was deleted."""type CustomerDelete @doc(category: "Users") @webhookEventsInfo(asyncEvents: [CUSTOMER_DELETED], syncEvents: []) {- accountErrors: [AccountError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ accountErrors: [AccountError!]! @deprecated(reason: "Use `errors` field instead.")errors: [AccountError!]!user: User}@@ -29367,7 +28943,7 @@ Triggers the following webhook events:type CustomerBulkDelete @doc(category: "Users") @webhookEventsInfo(asyncEvents: [CUSTOMER_DELETED], syncEvents: []) {"""Returns how many objects were affected."""count: Int!- accountErrors: [AccountError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ accountErrors: [AccountError!]! @deprecated(reason: "Use `errors` field instead.")errors: [AccountError!]!}@@ -29443,7 +29019,7 @@ Triggers the following webhook events:- STAFF_SET_PASSWORD_REQUESTED (async): Setting a new password for the staff account is requested."""type StaffCreate @doc(category: "Users") @webhookEventsInfo(asyncEvents: [STAFF_CREATED, NOTIFY_USER, STAFF_SET_PASSWORD_REQUESTED], syncEvents: []) {- staffErrors: [StaffError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ staffErrors: [StaffError!]! @deprecated(reason: "Use `errors` field instead.")errors: [StaffError!]!user: User}@@ -29514,7 +29090,7 @@ Triggers the following webhook events:- STAFF_UPDATED (async): A staff account was updated."""type StaffUpdate @doc(category: "Users") @webhookEventsInfo(asyncEvents: [STAFF_UPDATED], syncEvents: []) {- staffErrors: [StaffError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ staffErrors: [StaffError!]! @deprecated(reason: "Use `errors` field instead.")errors: [StaffError!]!user: User}@@ -29558,7 +29134,7 @@ Triggers the following webhook events:- STAFF_DELETED (async): A staff account was deleted."""type StaffDelete @doc(category: "Users") @webhookEventsInfo(asyncEvents: [STAFF_DELETED], syncEvents: []) {- staffErrors: [StaffError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ staffErrors: [StaffError!]! @deprecated(reason: "Use `errors` field instead.")errors: [StaffError!]!user: User}@@ -29574,7 +29150,7 @@ Triggers the following webhook events:type StaffBulkDelete @doc(category: "Users") @webhookEventsInfo(asyncEvents: [STAFF_DELETED], syncEvents: []) {"""Returns how many objects were affected."""count: Int!- staffErrors: [StaffError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ staffErrors: [StaffError!]! @deprecated(reason: "Use `errors` field instead.")errors: [StaffError!]!}@@ -29586,7 +29162,7 @@ Requires one of the following permissions: AUTHENTICATED_STAFF_USER.type UserAvatarUpdate @doc(category: "Users") {"""An updated user instance."""user: User- accountErrors: [AccountError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ accountErrors: [AccountError!]! @deprecated(reason: "Use `errors` field instead.")errors: [AccountError!]!}@@ -29598,7 +29174,7 @@ Requires one of the following permissions: AUTHENTICATED_STAFF_USER.type UserAvatarDelete @doc(category: "Users") {"""An updated user instance."""user: User- accountErrors: [AccountError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ accountErrors: [AccountError!]! @deprecated(reason: "Use `errors` field instead.")errors: [AccountError!]!}@@ -29610,7 +29186,7 @@ Requires one of the following permissions: MANAGE_USERS.type UserBulkSetActive @doc(category: "Users") {"""Returns how many objects were affected."""count: Int!- accountErrors: [AccountError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ accountErrors: [AccountError!]! @deprecated(reason: "Use `errors` field instead.")errors: [AccountError!]!}@@ -29623,7 +29199,7 @@ Triggers the following webhook events:- PERMISSION_GROUP_CREATED (async)"""type PermissionGroupCreate @doc(category: "Users") @webhookEventsInfo(asyncEvents: [PERMISSION_GROUP_CREATED], syncEvents: []) {- permissionGroupErrors: [PermissionGroupError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ permissionGroupErrors: [PermissionGroupError!]! @deprecated(reason: "Use `errors` field instead.")errors: [PermissionGroupError!]!group: Group}@@ -29690,7 +29266,7 @@ Triggers the following webhook events:- PERMISSION_GROUP_UPDATED (async)"""type PermissionGroupUpdate @doc(category: "Users") @webhookEventsInfo(asyncEvents: [PERMISSION_GROUP_UPDATED], syncEvents: []) {- permissionGroupErrors: [PermissionGroupError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ permissionGroupErrors: [PermissionGroupError!]! @deprecated(reason: "Use `errors` field instead.")errors: [PermissionGroupError!]!group: Group}@@ -29730,7 +29306,7 @@ Triggers the following webhook events:- PERMISSION_GROUP_DELETED (async)"""type PermissionGroupDelete @doc(category: "Users") @webhookEventsInfo(asyncEvents: [PERMISSION_GROUP_DELETED], syncEvents: []) {- permissionGroupErrors: [PermissionGroupError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")+ permissionGroupErrors: [PermissionGroupError!]! @deprecated(reason: "Use `errors` field instead.")errors: [PermissionGroupError!]!group: Group}@@ -31457,7 +31033,7 @@ type ProductVariantMetadataUpdated implements Event @doc(category: "Products") {"""Event sent when new sale is created.-DEPRECATED: this event will be removed in Saleor 4.0. Use `PromotionCreated` event instead.+DEPRECATED: this event will be removed. Use `PromotionCreated` event instead."""type SaleCreated implements Event @doc(category: "Discounts") {"""Time of the event."""@@ -31482,7 +31058,7 @@ type SaleCreated implements Event @doc(category: "Discounts") {"""Event sent when sale is updated.-DEPRECATED: this event will be removed in Saleor 4.0. Use `PromotionUpdated` event instead.+DEPRECATED: this event will be removed. Use `PromotionUpdated` event instead."""type SaleUpdated implements Event @doc(category: "Discounts") {"""Time of the event."""@@ -31507,7 +31083,7 @@ type SaleUpdated implements Event @doc(category: "Discounts") {"""Event sent when sale is deleted.-DEPRECATED: this event will be removed in Saleor 4.0. Use `PromotionDeleted` event instead.+DEPRECATED: this event will be removed. Use `PromotionDeleted` event instead."""type SaleDeleted implements Event @doc(category: "Discounts") {"""Time of the event."""@@ -31532,7 +31108,7 @@ type SaleDeleted implements Event @doc(category: "Discounts") {"""The event informs about the start or end of the sale.-DEPRECATED: this event will be removed in Saleor 4.0. Use `PromotionStarted` and `PromotionEnded` events instead.+DEPRECATED: this event will be removed. Use `PromotionStarted` and `PromotionEnded` events instead."""type SaleToggle implements Event @doc(category: "Discounts") {"""Time of the event."""diff --git a/saleor/graphql/schema_printer.py b/saleor/graphql/schema_printer.pyindex bc474a51f7..5af611d884 100644--- a/saleor/graphql/schema_printer.py+++ b/saleor/graphql/schema_printer.py@@ -23,6 +23,8 @@ from graphql.type.directives import DEFAULT_DEPRECATION_REASON, GraphQLDirectivefrom graphql.type.schema import GraphQLSchemafrom graphql.utils.ast_from_value import ast_from_value+from saleor.graphql.core.descriptions import DEPRECATED_IN_3X_INPUT+__all__ = ["print_schema", "print_introspection_schema", "print_type"]from ..webhook.event_types import WebhookEventAsyncType, WebhookEventSyncType@@ -334,6 +336,13 @@ def print_input_value(name: str, arg: GraphQLArgument) -> str:arg_decl = f"{name}: {arg.type}"if default_ast:arg_decl += f" = {print_ast(default_ast)}"++ if arg.description and DEPRECATED_IN_3X_INPUT in arg.description:+ deprection_pos = arg.description.index(DEPRECATED_IN_3X_INPUT)+ reason = arg.description[deprection_pos + len(DEPRECATED_IN_3X_INPUT) :]+ reason = reason.strip() or DEFAULT_DEPRECATION_REASON+ arg_decl += print_deprecated(reason)+return arg_decl@@ -460,9 +469,14 @@ def print_description(indentation: str = "",first_in_block: bool = True,) -> str:- description = def_.description+ description: str | None = def_.descriptionif description is None:return ""++ if DEPRECATED_IN_3X_INPUT in description:+ deprection_pos = description.index(DEPRECATED_IN_3X_INPUT)+ description = description[:deprection_pos]+description = description.rstrip()if is_printable_as_block_string(description):diff --git a/saleor/graphql/shipping/types.py b/saleor/graphql/shipping/types.pyindex 3ba70b80b4..55ddb0756f 100644--- a/saleor/graphql/shipping/types.py+++ b/saleor/graphql/shipping/types.py@@ -14,7 +14,7 @@ from ..channel.dataloaders import ChannelByIdLoaderfrom ..channel.types import Channel, ChannelContext, ChannelContextTypefrom ..core.connection import CountableConnection, create_connection_slicefrom ..core.context import get_database_connection_name-from ..core.descriptions import DEPRECATED_IN_3X_FIELD, RICH_CONTENT+from ..core.descriptions import DEFAULT_DEPRECATION_REASON, RICH_CONTENTfrom ..core.doc_category import DOC_CATEGORY_SHIPPINGfrom ..core.fields import ConnectionField, JSONString, PermissionsFieldfrom ..core.tracing import traced_resolver@@ -347,7 +347,7 @@ class ShippingMethod(BaseObjectType):)type = ShippingMethodTypeEnum(description="Type of the shipping method.",- deprecation_reason=DEPRECATED_IN_3X_FIELD,+ deprecation_reason=DEFAULT_DEPRECATION_REASON,)name = graphene.String(required=True, description="Shipping method name.")description = JSONString(description="Shipping method description." + RICH_CONTENT)@@ -360,12 +360,12 @@ class ShippingMethod(BaseObjectType):maximum_order_weight = graphene.Field(Weight,description="Maximum order weight for this shipping method.",- deprecation_reason=DEPRECATED_IN_3X_FIELD,+ deprecation_reason=DEFAULT_DEPRECATION_REASON,)minimum_order_weight = graphene.Field(Weight,description="Minimum order weight for this shipping method.",- deprecation_reason=DEPRECATED_IN_3X_FIELD,+ deprecation_reason=DEFAULT_DEPRECATION_REASON,)translation = TranslationField(ShippingMethodTranslation,diff --git a/saleor/graphql/shop/mutations/shop_domain_update.py b/saleor/graphql/shop/mutations/shop_domain_update.pyindex 798ab0165f..dfd314d2b3 100644--- a/saleor/graphql/shop/mutations/shop_domain_update.py+++ b/saleor/graphql/shop/mutations/shop_domain_update.py@@ -2,7 +2,6 @@ import graphenefrom ....permission.enums import SitePermissionsfrom ...core import ResolveInfo-from ...core.descriptions import DEPRECATED_IN_3X_MUTATIONfrom ...core.doc_category import DOC_CATEGORY_SHOPfrom ...core.mutations import BaseMutationfrom ...core.types import ShopError@@ -25,11 +24,7 @@ class ShopDomainUpdate(BaseMutation):input = SiteDomainInput(description="Fields required to update site.")class Meta:- description = (- "Updates site domain of the shop."- + DEPRECATED_IN_3X_MUTATION- + " Use `PUBLIC_URL` environment variable instead."- )+ description = "Updates site domain of the shop."doc_category = DOC_CATEGORY_SHOPpermissions = (SitePermissions.MANAGE_SETTINGS,)error_type_class = ShopErrordiff --git a/saleor/graphql/shop/schema.py b/saleor/graphql/shop/schema.pyindex 4e03c1253b..5523f4a1c4 100644--- a/saleor/graphql/shop/schema.py+++ b/saleor/graphql/shop/schema.py@@ -4,7 +4,7 @@ from ...channel import models as channel_modelsfrom ...permission.enums import GiftcardPermissions, OrderPermissionsfrom ..channel.types import OrderSettingsfrom ..core.context import get_database_connection_name-from ..core.descriptions import DEPRECATED_IN_3X_FIELD, DEPRECATED_IN_3X_MUTATION+from ..core.descriptions import DEFAULT_DEPRECATION_REASONfrom ..core.doc_category import DOC_CATEGORY_GIFT_CARDS, DOC_CATEGORY_ORDERSfrom ..core.fields import PermissionsFieldfrom ..site.dataloaders import load_site_callback@@ -36,10 +36,7 @@ class ShopQueries(graphene.ObjectType):"Returns `orderSettings` for the first `channel` in ""alphabetical order."),- deprecation_reason=(- f"{DEPRECATED_IN_3X_FIELD} "- "Use the `channel` query to fetch the `orderSettings` field instead."- ),+ deprecation_reason="Use the `channel` query to fetch the `orderSettings` field instead.",permissions=[OrderPermissions.MANAGE_ORDERS],doc_category=DOC_CATEGORY_ORDERS,)@@ -85,19 +82,16 @@ class ShopMutations(graphene.ObjectType):staff_notification_recipient_delete = StaffNotificationRecipientDelete.Field()shop_domain_update = ShopDomainUpdate.Field(- deprecation_reason=DEPRECATED_IN_3X_MUTATION- + " Use `PUBLIC_URL` environment variable instead."+ deprecation_reason="Use `PUBLIC_URL` environment variable instead.")shop_settings_update = ShopSettingsUpdate.Field()shop_fetch_tax_rates = ShopFetchTaxRates.Field(- deprecation_reason=DEPRECATED_IN_3X_MUTATION+ deprecation_reason=DEFAULT_DEPRECATION_REASON)shop_settings_translate = ShopSettingsTranslate.Field()shop_address_update = ShopAddressUpdate.Field()order_settings_update = OrderSettingsUpdate.Field(- deprecation_reason=(- DEPRECATED_IN_3X_MUTATION + " Use `channelUpdate` mutation instead."- )+ deprecation_reason="Use `channelUpdate` mutation instead.")gift_card_settings_update = GiftCardSettingsUpdate.Field()diff --git a/saleor/graphql/shop/types.py b/saleor/graphql/shop/types.pyindex 93c7b94462..644c62d23c 100644--- a/saleor/graphql/shop/types.py+++ b/saleor/graphql/shop/types.py@@ -18,7 +18,7 @@ from ..core import ResolveInfofrom ..core.context import get_database_connection_namefrom ..core.descriptions import (ADDED_IN_319,- DEPRECATED_IN_3X_FIELD,+ DEFAULT_DEPRECATION_REASON,DEPRECATED_IN_3X_INPUT,)from ..core.doc_category import (@@ -319,7 +319,7 @@ class Shop(graphene.ObjectType):LimitInfo,required=True,description="Resource limitations and current usage if any set for a shop",- deprecation_reason=(f"{DEPRECATED_IN_3X_FIELD}"),+ deprecation_reason=DEFAULT_DEPRECATION_REASON,permissions=[AuthorizationFilters.AUTHENTICATED_STAFF_USER],)version = PermissionsField(@@ -353,28 +353,19 @@ class Shop(graphene.ObjectType):# deprecatedinclude_taxes_in_prices = graphene.Boolean(description="Include taxes in prices.",- deprecation_reason=(- f"{DEPRECATED_IN_3X_FIELD} Use "- "`Channel.taxConfiguration.pricesEnteredWithTax` to determine whether "- "prices are entered with tax."- ),+ deprecation_reason="Use `Channel.taxConfiguration.pricesEnteredWithTax` to determine whether prices are entered with tax.",required=True,)display_gross_prices = graphene.Boolean(description="Display prices with tax in store.",- deprecation_reason=(- f"{DEPRECATED_IN_3X_FIELD} Use `Channel.taxConfiguration` to determine "- "whether to display gross or net prices."- ),+ deprecation_reason="Use `Channel.taxConfiguration` to determine whether to display gross or net prices.",required=True,)charge_taxes_on_shipping = graphene.Boolean(description="Charge taxes on shipping.",- deprecation_reason=(- f"{DEPRECATED_IN_3X_FIELD} Use `ShippingMethodType.taxClass` to determine "- "whether taxes are calculated for shipping methods; if a tax class is set, "- "the taxes will be calculated, otherwise no tax rate will be applied."- ),+ deprecation_reason="Use `ShippingMethodType.taxClass` to determine "+ "whether taxes are calculated for shipping methods; if a tax class is set, "+ "the taxes will be calculated, otherwise no tax rate will be applied.",required=True,)diff --git a/saleor/graphql/translations/mutations/sale_translate.py b/saleor/graphql/translations/mutations/sale_translate.pyindex b32e000dfb..e54911ffae 100644--- a/saleor/graphql/translations/mutations/sale_translate.py+++ b/saleor/graphql/translations/mutations/sale_translate.py@@ -6,7 +6,6 @@ from ....discount.error_codes import DiscountErrorCodefrom ....permission.enums import SitePermissionsfrom ...channel import ChannelContextfrom ...core import ResolveInfo-from ...core.descriptions import DEPRECATED_IN_3X_MUTATIONfrom ...core.enums import LanguageCodeEnumfrom ...core.types import TranslationErrorfrom ...core.utils import from_global_id_or_error, raise_validation_error@@ -28,11 +27,7 @@ class SaleTranslate(BaseTranslateMutation):)class Meta:- description = (- "Creates/updates translations for a sale."- + DEPRECATED_IN_3X_MUTATION- + " Use `PromotionTranslate` mutation instead."- )+ description = "Creates/updates translations for a sale."model = discount_models.Promotionobject_type = Salereturn_field_name = "sale"diff --git a/saleor/graphql/translations/types.py b/saleor/graphql/translations/types.pyindex 4b3705f3ba..a9c2309d87 100644--- a/saleor/graphql/translations/types.py+++ b/saleor/graphql/translations/types.py@@ -24,7 +24,6 @@ from ..channel import ChannelContextfrom ..core.context import get_database_connection_namefrom ..core.descriptions import (ADDED_IN_321,- DEPRECATED_IN_3X_FIELD,DEPRECATED_IN_3X_TYPE,RICH_CONTENT,)@@ -162,9 +161,7 @@ class AttributeTranslatableContent(ModelObjectType[attribute_models.Attribute]):attribute = graphene.Field("saleor.graphql.attribute.types.Attribute",description="Custom attribute of a product.",- deprecation_reason=(- f"{DEPRECATED_IN_3X_FIELD} Get model fields from the root level queries."- ),+ deprecation_reason="Get model fields from the root level queries.",)class Meta:@@ -206,9 +203,7 @@ class AttributeValueTranslatableContent(attribute_value = graphene.Field("saleor.graphql.attribute.types.AttributeValue",description="Represents a value of an attribute.",- deprecation_reason=(- f"{DEPRECATED_IN_3X_FIELD} Get model fields from the root level queries."- ),+ deprecation_reason="Get model fields from the root level queries.",)attribute = graphene.Field(AttributeTranslatableContent,@@ -281,9 +276,7 @@ class ProductVariantTranslatableContent(ModelObjectType[product_models.ProductVadescription=("Represents a version of a product such as different size or color."),- deprecation_reason=(- f"{DEPRECATED_IN_3X_FIELD} Get model fields from the root level queries."- ),+ deprecation_reason="Get model fields from the root level queries.",)attribute_values = NonNullList(AttributeValueTranslatableContent,@@ -329,9 +322,7 @@ class ProductTranslation(BaseTranslationType[product_models.ProductTranslation]))description_json = JSONString(description="Translated description of the product." + RICH_CONTENT,- deprecation_reason=(- f"{DEPRECATED_IN_3X_FIELD} Use the `description` field instead."- ),+ deprecation_reason="Use the `description` field instead.",)translatable_content = graphene.Field("saleor.graphql.translations.types.ProductTranslatableContent",@@ -370,17 +361,13 @@ class ProductTranslatableContent(ModelObjectType[product_models.Product]):)description_json = JSONString(description="Description of the product." + RICH_CONTENT,- deprecation_reason=(- f"{DEPRECATED_IN_3X_FIELD} Use the `description` field instead."- ),+ deprecation_reason="Use the `description` field instead.",)translation = TranslationField(ProductTranslation, type_name="product")product = graphene.Field("saleor.graphql.product.types.products.Product",description="Represents an individual item for sale in the storefront.",- deprecation_reason=(- f"{DEPRECATED_IN_3X_FIELD} Get model fields from the root level queries."- ),+ deprecation_reason="Get model fields from the root level queries.",)attribute_values = NonNullList(AttributeValueTranslatableContent,@@ -442,9 +429,7 @@ class CollectionTranslation(BaseTranslationType[product_models.CollectionTransla)description_json = JSONString(description="Translated description of the collection." + RICH_CONTENT,- deprecation_reason=(- f"{DEPRECATED_IN_3X_FIELD} Use the `description` field instead."- ),+ deprecation_reason="Use the `description` field instead.",)translatable_content = graphene.Field("saleor.graphql.translations.types.CollectionTranslatableContent",@@ -482,17 +467,13 @@ class CollectionTranslatableContent(ModelObjectType[product_models.Collection]):)description_json = JSONString(description="Description of the collection." + RICH_CONTENT,- deprecation_reason=(- f"{DEPRECATED_IN_3X_FIELD} Use the `description` field instead."- ),+ deprecation_reason="Use the `description` field instead.",)translation = TranslationField(CollectionTranslation, type_name="collection")collection = graphene.Field("saleor.graphql.product.types.collections.Collection",description="Represents a collection of products.",- deprecation_reason=(- f"{DEPRECATED_IN_3X_FIELD} Get model fields from the root level queries."- ),+ deprecation_reason="Get model fields from the root level queries.",)class Meta:@@ -540,9 +521,7 @@ class CategoryTranslation(BaseTranslationType[product_models.CategoryTranslation)description_json = JSONString(description="Translated description of the category." + RICH_CONTENT,- deprecation_reason=(- f"{DEPRECATED_IN_3X_FIELD} Use the `description` field instead."- ),+ deprecation_reason="Use the `description` field instead.",)translatable_content = graphene.Field("saleor.graphql.translations.types.CategoryTranslatableContent",@@ -583,17 +562,13 @@ class CategoryTranslatableContent(ModelObjectType[product_models.Category]):)description_json = JSONString(description="Description of the category." + RICH_CONTENT,- deprecation_reason=(- f"{DEPRECATED_IN_3X_FIELD} Use the `description` field instead."- ),+ deprecation_reason="Use the `description` field instead.",)translation = TranslationField(CategoryTranslation, type_name="category")category = graphene.Field("saleor.graphql.product.types.categories.Category",description="Represents a single category of products.",- deprecation_reason=(- f"{DEPRECATED_IN_3X_FIELD} Get model fields from the root level queries."- ),+ deprecation_reason="Get model fields from the root level queries.",)class Meta:@@ -626,7 +601,7 @@ class PageTranslation(BaseTranslationType[page_models.PageTranslation]):content = JSONString(description="Translated content of the page." + RICH_CONTENT)content_json = JSONString(description="Translated description of the page." + RICH_CONTENT,- deprecation_reason=f"{DEPRECATED_IN_3X_FIELD} Use the `content` field instead.",+ deprecation_reason="Use the `content` field instead.",)translatable_content = graphene.Field("saleor.graphql.translations.types.PageTranslatableContent",@@ -660,7 +635,7 @@ class PageTranslatableContent(ModelObjectType[page_models.Page]):content = JSONString(description="Content of the page to translate." + RICH_CONTENT)content_json = JSONString(description="Content of the page." + RICH_CONTENT,- deprecation_reason=f"{DEPRECATED_IN_3X_FIELD} Use the `content` field instead.",+ deprecation_reason="Use the `content` field instead.",)translation = TranslationField(PageTranslation, type_name="page")page = graphene.Field(@@ -669,9 +644,7 @@ class PageTranslatableContent(ModelObjectType[page_models.Page]):"A static page that can be manually added by a shop operator ""through the dashboard."),- deprecation_reason=(- f"{DEPRECATED_IN_3X_FIELD} Get model fields from the root level queries."- ),+ deprecation_reason="Get model fields from the root level queries.",)attribute_values = NonNullList(AttributeValueTranslatableContent,@@ -760,9 +733,7 @@ class VoucherTranslatableContent(ModelObjectType[discount_models.Voucher]):"collections or specific products. They can be used during checkout by ""providing valid voucher codes."),- deprecation_reason=(- f"{DEPRECATED_IN_3X_FIELD} Get model fields from the root level queries."- ),+ deprecation_reason="Get model fields from the root level queries.",permissions=[DiscountPermissions.MANAGE_DISCOUNTS],)@@ -818,9 +789,7 @@ class SaleTranslatableContent(ModelObjectType[discount_models.Promotion]):"Sales allow creating discounts for categories, collections ""or products and are visible to all the customers."),- deprecation_reason=(- f"{DEPRECATED_IN_3X_FIELD} Get model fields from the root level queries."- ),+ deprecation_reason="Get model fields from the root level queries.",permissions=[DiscountPermissions.MANAGE_DISCOUNTS],)@@ -894,9 +863,7 @@ class MenuItemTranslatableContent(ModelObjectType[menu_models.MenuItem]):"Represents a single item of the related menu. Can store categories, ""collection or pages."),- deprecation_reason=(- f"{DEPRECATED_IN_3X_FIELD} Get model fields from the root level queries."- ),+ deprecation_reason="Get model fields from the root level queries.",)class Meta:@@ -967,9 +934,7 @@ class ShippingMethodTranslatableContent("Shipping method are the methods you'll use to get customer's orders "" to them. They are directly exposed to the customers."),- deprecation_reason=(- f"{DEPRECATED_IN_3X_FIELD} Get model fields from the root level queries."- ),+ deprecation_reason="Get model fields from the root level queries.",permissions=[ShippingPermissions.MANAGE_SHIPPING,],diff --git a/saleor/graphql/warehouse/types.py b/saleor/graphql/warehouse/types.pyindex 9c3884bee3..17c68e4cf4 100644--- a/saleor/graphql/warehouse/types.py+++ b/saleor/graphql/warehouse/types.py@@ -13,7 +13,6 @@ from ..core.connection import CountableConnection, create_connection_slicefrom ..core.context import get_database_connection_namefrom ..core.descriptions import (ADDED_IN_320,- DEPRECATED_IN_3X_FIELD,DEPRECATED_IN_3X_INPUT,)from ..core.doc_category import DOC_CATEGORY_PRODUCTS@@ -96,9 +95,7 @@ class Warehouse(ModelObjectType[models.Warehouse]):company_name = graphene.String(required=True,description="Warehouse company name.",- deprecation_reason=(- f"{DEPRECATED_IN_3X_FIELD} Use `Address.companyName` instead."- ),+ deprecation_reason="Use `Address.companyName` instead.",)click_and_collect_option = WarehouseClickAndCollectOptionEnum(description="Click and collect options: local, all or disabled.",diff --git a/saleor/graphql/webhook/enums.py b/saleor/graphql/webhook/enums.pyindex 1238ea42d1..cd15aae7af 100644--- a/saleor/graphql/webhook/enums.py+++ b/saleor/graphql/webhook/enums.py@@ -3,7 +3,7 @@ import graphenefrom ...webhook.event_types import WebhookEventAsyncType, WebhookEventSyncTypefrom ..core.descriptions import (ADDED_IN_318,- DEPRECATED_IN_3X_ENUM_VALUE,+ DEFAULT_DEPRECATION_REASON,)from ..core.doc_category import DOC_CATEGORY_WEBHOOKSfrom ..core.types import BaseEnum@@ -90,13 +90,7 @@ WEBHOOK_EVENT_DESCRIPTION = {WebhookEventAsyncType.MENU_ITEM_CREATED: "A new menu item created.",WebhookEventAsyncType.MENU_ITEM_UPDATED: "A menu item is updated.",WebhookEventAsyncType.MENU_ITEM_DELETED: "A menu item is deleted.",- WebhookEventAsyncType.NOTIFY_USER: (- "User notification triggered."- + DEPRECATED_IN_3X_ENUM_VALUE- + " See the docs for more details about migrating from NOTIFY_USER to other "- "events: "- + "https://docs.saleor.io/docs/next/upgrade-guides/notify-user-deprecation"- ),+ WebhookEventAsyncType.NOTIFY_USER: "User notification triggered.",WebhookEventAsyncType.ORDER_CREATED: "A new order is placed.",WebhookEventAsyncType.ORDER_CONFIRMED: order_confirmed_event_enum_description,WebhookEventAsyncType.ORDER_PAID: (@@ -201,7 +195,7 @@ WEBHOOK_EVENT_DESCRIPTION = {WebhookEventAsyncType.VOUCHER_CODE_EXPORT_COMPLETED: ("A voucher code export is completed." + ADDED_IN_318),- WebhookEventAsyncType.ANY: "All the events." + DEPRECATED_IN_3X_ENUM_VALUE,+ WebhookEventAsyncType.ANY: "All the events.",WebhookEventAsyncType.OBSERVABILITY: "An observability event is created.",WebhookEventAsyncType.THUMBNAIL_CREATED: "A thumbnail is created.",WebhookEventAsyncType.SHOP_METADATA_UPDATED: "Shop metadata is updated.",@@ -245,6 +239,17 @@ def description(enum):return "Enum determining type of webhook."+def deprecation_reason(enum):+ if enum.value == WebhookEventAsyncType.NOTIFY_USER:+ return (+ "See the docs for more details about migrating from NOTIFY_USER to other events: "+ "https://docs.saleor.io/docs/next/upgrade-guides/notify-user-deprecation"+ )+ if enum.value == WebhookEventAsyncType.ANY:+ return DEFAULT_DEPRECATION_REASON+ return None++WebhookEventTypeEnum = graphene.Enum("WebhookEventTypeEnum",[@@ -252,6 +257,7 @@ WebhookEventTypeEnum = graphene.Enum(for e_type in (WebhookEventAsyncType.CHOICES + WebhookEventSyncType.CHOICES)],description=description,+ deprecation_reason=deprecation_reason,)WebhookEventTypeEnum.doc_category = DOC_CATEGORY_WEBHOOKS@@ -260,6 +266,7 @@ WebhookEventTypeAsyncEnum = graphene.Enum("WebhookEventTypeAsyncEnum",[(str_to_enum(e_type[0]), e_type[0]) for e_type in WebhookEventAsyncType.CHOICES],description=description,+ deprecation_reason=deprecation_reason,)WebhookEventTypeAsyncEnum.doc_category = DOC_CATEGORY_WEBHOOKS@@ -267,6 +274,7 @@ WebhookEventTypeSyncEnum = graphene.Enum("WebhookEventTypeSyncEnum",[(str_to_enum(e_type[0]), e_type[0]) for e_type in WebhookEventSyncType.CHOICES],description=description,+ deprecation_reason=deprecation_reason,)WebhookEventTypeSyncEnum.doc_category = DOC_CATEGORY_WEBHOOKSdiff --git a/saleor/graphql/webhook/schema.py b/saleor/graphql/webhook/schema.pyindex 9ed43237dd..e4bedeb6fa 100644--- a/saleor/graphql/webhook/schema.py+++ b/saleor/graphql/webhook/schema.py@@ -4,7 +4,6 @@ from ...permission.auth_filters import AuthorizationFiltersfrom ...permission.enums import AppPermissionfrom ..app.dataloaders import app_promise_callbackfrom ..core import ResolveInfo-from ..core.descriptions import DEPRECATED_IN_3X_FIELDfrom ..core.doc_category import DOC_CATEGORY_WEBHOOKSfrom ..core.fields import BaseField, JSONString, PermissionsFieldfrom ..core.types import NonNullList@@ -36,10 +35,7 @@ class WebhookQueries(graphene.ObjectType):webhook_events = PermissionsField(NonNullList(WebhookEvent),description="List of all available webhook events.",- deprecation_reason=(- f"{DEPRECATED_IN_3X_FIELD} Use `WebhookEventTypeAsyncEnum` and "- "`WebhookEventTypeSyncEnum` to get available event types."- ),+ deprecation_reason="Use `WebhookEventTypeAsyncEnum` and `WebhookEventTypeSyncEnum` to get available event types.",permissions=[AppPermission.MANAGE_APPS],doc_category=DOC_CATEGORY_WEBHOOKS,)diff --git a/saleor/graphql/webhook/types.py b/saleor/graphql/webhook/types.pyindex 2c3343fc80..c57f415143 100644--- a/saleor/graphql/webhook/types.py+++ b/saleor/graphql/webhook/types.py@@ -11,7 +11,6 @@ from ..core.connection import (filter_connection_queryset,)from ..core.context import get_database_connection_name-from ..core.descriptions import DEPRECATED_IN_3X_FIELDfrom ..core.fields import FilterConnectionField, JSONStringfrom ..core.scalars import DateTimefrom ..core.types import ModelObjectType, NonNullList@@ -159,9 +158,7 @@ class Webhook(ModelObjectType[models.Webhook]):events = NonNullList(WebhookEvent,description="List of webhook events.",- deprecation_reason=(- f"{DEPRECATED_IN_3X_FIELD} Use `asyncEvents` or `syncEvents` instead."- ),+ deprecation_reason="Use `asyncEvents` or `syncEvents` instead.",required=True,)sync_events = NonNullList(@@ -191,10 +188,7 @@ class Webhook(ModelObjectType[models.Webhook]):)secret_key = graphene.String(description="Used to create a hash signature for each payload.",- deprecation_reason=(- f"{DEPRECATED_IN_3X_FIELD} As of Saleor 3.5, webhook payloads default to "- "signing using a verifiable JWS."- ),+ deprecation_reason="As of Saleor 3.5, webhook payloads default to signing using a verifiable JWS.",)subscription_query = graphene.String(description="Used to define payloads for specific events."