Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Drop preview_feature for metadata and privateMetadata (#13245)
Maciej Korycinski9261400342f5
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 74ebc9f616..31b594ce9d 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -63,6 +63,8 @@ All notable, unreleased changes to this project will be documented in this file.- Deprecate `Order.trackingClientId` field - #13146 by @SzymJ- Fix error "Cannot return null for non-nullable field Webhook.name" - #12989 by @Smit-Parmar- Added `GiftCardFilterInput.createdByEmail` filter - #13132 by @Smit-Parmar+- Remove `Preview feature` label from `metafield`, `metafields`, `metadata`,+`privateMetafield`, `privateMetafields` and `privateMetadata` fields - #13245 by @korycins### Saleor Appsdiff --git a/saleor/graphql/core/types/model.py b/saleor/graphql/core/types/model.pyindex 2b5fc402dc..ca17e36d1a 100644--- a/saleor/graphql/core/types/model.py+++ b/saleor/graphql/core/types/model.py@@ -5,7 +5,7 @@ from uuid import UUIDfrom django.db.models import Model, Qfrom graphene.types.objecttype import ObjectTypeOptions-from ..descriptions import ADDED_IN_33, PREVIEW_FEATURE+from ..descriptions import ADDED_IN_33from ..doc_category import DOC_CATEGORY_MAPfrom . import TYPES_WITH_DOUBLE_ID_AVAILABLEfrom .base import BaseObjectType@@ -84,11 +84,11 @@ class ModelObjectType(Generic[MT], BaseObjectType):# is required, otherwise the description is changed in each model# that inherits the `ObjectWithMetadata` interfacefield = copy.deepcopy(field)- field.description = field.description + added_label + PREVIEW_FEATURE+ field.description = field.description + added_labelcls._meta.fields[field_name] = fieldelif metadata_since and field_name in ["private_metadata", "metadata"]:field = copy.deepcopy(field)- field.description = field.description + metadata_since + PREVIEW_FEATURE+ field.description = field.description + metadata_sincecls._meta.fields[field_name] = field@classmethoddiff --git a/saleor/graphql/schema.graphql b/saleor/graphql/schema.graphqlindex af70e9326b..15bc7a0db3 100644--- a/saleor/graphql/schema.graphql+++ b/saleor/graphql/schema.graphql@@ -2803,8 +2803,6 @@ type App implements Node & ObjectWithMetadata @doc(category: "Apps") {Tip: Use GraphQL aliases to fetch multiple keys.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""privateMetafield(key: String!): String@@ -2812,8 +2810,6 @@ type App implements Node & ObjectWithMetadata @doc(category: "Apps") {Private metadata. Requires staff permissions to access. Use `keys` to control which fields you want to include. The default is to include everything.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""privateMetafields(keys: [String!]): Metadata@@ -2826,8 +2822,6 @@ type App implements Node & ObjectWithMetadata @doc(category: "Apps") {Tip: Use GraphQL aliases to fetch multiple keys.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""metafield(key: String!): String@@ -2835,8 +2829,6 @@ type App implements Node & ObjectWithMetadata @doc(category: "Apps") {Public metadata. Use `keys` to control which fields you want to include. The default is to include everything.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""metafields(keys: [String!]): Metadata@@ -3465,8 +3457,6 @@ type Warehouse implements Node & ObjectWithMetadata @doc(category: "Products") {Tip: Use GraphQL aliases to fetch multiple keys.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""privateMetafield(key: String!): String@@ -3474,8 +3464,6 @@ type Warehouse implements Node & ObjectWithMetadata @doc(category: "Products") {Private metadata. Requires staff permissions to access. Use `keys` to control which fields you want to include. The default is to include everything.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""privateMetafields(keys: [String!]): Metadata@@ -3488,8 +3476,6 @@ type Warehouse implements Node & ObjectWithMetadata @doc(category: "Products") {Tip: Use GraphQL aliases to fetch multiple keys.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""metafield(key: String!): String@@ -3497,8 +3483,6 @@ type Warehouse implements Node & ObjectWithMetadata @doc(category: "Products") {Public metadata. Use `keys` to control which fields you want to include. The default is to include everything.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""metafields(keys: [String!]): Metadataname: String!@@ -3551,8 +3535,6 @@ type Address implements Node & ObjectWithMetadata @doc(category: "Users") {List of private metadata items. Requires staff permissions to access.Added in Saleor 3.10.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""privateMetadata: [MetadataItem!]!@@ -3562,8 +3544,6 @@ type Address implements Node & ObjectWithMetadata @doc(category: "Users") {Tip: Use GraphQL aliases to fetch multiple keys.Added in Saleor 3.10.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""privateMetafield(key: String!): String@@ -3571,8 +3551,6 @@ type Address implements Node & ObjectWithMetadata @doc(category: "Users") {Private metadata. Requires staff permissions to access. Use `keys` to control which fields you want to include. The default is to include everything.Added in Saleor 3.10.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""privateMetafields(keys: [String!]): Metadata@@ -3580,8 +3558,6 @@ type Address implements Node & ObjectWithMetadata @doc(category: "Users") {List of public metadata items. Can be accessed without permissions.Added in Saleor 3.10.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""metadata: [MetadataItem!]!@@ -3591,8 +3567,6 @@ type Address implements Node & ObjectWithMetadata @doc(category: "Users") {Tip: Use GraphQL aliases to fetch multiple keys.Added in Saleor 3.10.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""metafield(key: String!): String@@ -3600,8 +3574,6 @@ type Address implements Node & ObjectWithMetadata @doc(category: "Users") {Public metadata. Use `keys` to control which fields you want to include. The default is to include everything.Added in Saleor 3.10.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""metafields(keys: [String!]): Metadata@@ -3716,8 +3688,6 @@ type ShippingZone implements Node & ObjectWithMetadata @doc(category: "Shipping"Tip: Use GraphQL aliases to fetch multiple keys.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""privateMetafield(key: String!): String@@ -3725,8 +3695,6 @@ type ShippingZone implements Node & ObjectWithMetadata @doc(category: "Shipping"Private metadata. Requires staff permissions to access. Use `keys` to control which fields you want to include. The default is to include everything.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""privateMetafields(keys: [String!]): Metadata@@ -3739,8 +3707,6 @@ type ShippingZone implements Node & ObjectWithMetadata @doc(category: "Shipping"Tip: Use GraphQL aliases to fetch multiple keys.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""metafield(key: String!): String@@ -3748,8 +3714,6 @@ type ShippingZone implements Node & ObjectWithMetadata @doc(category: "Shipping"Public metadata. Use `keys` to control which fields you want to include. The default is to include everything.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""metafields(keys: [String!]): Metadataname: String!@@ -3810,8 +3774,6 @@ type ShippingMethodType implements Node & ObjectWithMetadata @doc(category: "ShiTip: Use GraphQL aliases to fetch multiple keys.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""privateMetafield(key: String!): String@@ -3819,8 +3781,6 @@ type ShippingMethodType implements Node & ObjectWithMetadata @doc(category: "ShiPrivate metadata. Requires staff permissions to access. Use `keys` to control which fields you want to include. The default is to include everything.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""privateMetafields(keys: [String!]): Metadata@@ -3833,8 +3793,6 @@ type ShippingMethodType implements Node & ObjectWithMetadata @doc(category: "ShiTip: Use GraphQL aliases to fetch multiple keys.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""metafield(key: String!): String@@ -3842,8 +3800,6 @@ type ShippingMethodType implements Node & ObjectWithMetadata @doc(category: "ShiPublic metadata. Use `keys` to control which fields you want to include. The default is to include everything.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""metafields(keys: [String!]): Metadata@@ -5364,8 +5320,6 @@ type Product implements Node & ObjectWithMetadata @doc(category: "Products") {Tip: Use GraphQL aliases to fetch multiple keys.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""privateMetafield(key: String!): String@@ -5373,8 +5327,6 @@ type Product implements Node & ObjectWithMetadata @doc(category: "Products") {Private metadata. Requires staff permissions to access. Use `keys` to control which fields you want to include. The default is to include everything.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""privateMetafields(keys: [String!]): Metadata@@ -5387,8 +5339,6 @@ type Product implements Node & ObjectWithMetadata @doc(category: "Products") {Tip: Use GraphQL aliases to fetch multiple keys.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""metafield(key: String!): String@@ -5396,8 +5346,6 @@ type Product implements Node & ObjectWithMetadata @doc(category: "Products") {Public metadata. Use `keys` to control which fields you want to include. The default is to include everything.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""metafields(keys: [String!]): MetadataseoTitle: String@@ -5583,8 +5531,6 @@ type ProductType implements Node & ObjectWithMetadata @doc(category: "Products")Tip: Use GraphQL aliases to fetch multiple keys.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""privateMetafield(key: String!): String@@ -5592,8 +5538,6 @@ type ProductType implements Node & ObjectWithMetadata @doc(category: "Products")Private metadata. Requires staff permissions to access. Use `keys` to control which fields you want to include. The default is to include everything.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""privateMetafields(keys: [String!]): Metadata@@ -5606,8 +5550,6 @@ type ProductType implements Node & ObjectWithMetadata @doc(category: "Products")Tip: Use GraphQL aliases to fetch multiple keys.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""metafield(key: String!): String@@ -5615,8 +5557,6 @@ type ProductType implements Node & ObjectWithMetadata @doc(category: "Products")Public metadata. Use `keys` to control which fields you want to include. The default is to include everything.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""metafields(keys: [String!]): Metadataname: String!@@ -5740,8 +5680,6 @@ type TaxClass implements Node & ObjectWithMetadata @doc(category: "Taxes") {Tip: Use GraphQL aliases to fetch multiple keys.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""privateMetafield(key: String!): String@@ -5749,8 +5687,6 @@ type TaxClass implements Node & ObjectWithMetadata @doc(category: "Taxes") {Private metadata. Requires staff permissions to access. Use `keys` to control which fields you want to include. The default is to include everything.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""privateMetafields(keys: [String!]): Metadata@@ -5763,8 +5699,6 @@ type TaxClass implements Node & ObjectWithMetadata @doc(category: "Taxes") {Tip: Use GraphQL aliases to fetch multiple keys.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""metafield(key: String!): String@@ -5772,8 +5706,6 @@ type TaxClass implements Node & ObjectWithMetadata @doc(category: "Taxes") {Public metadata. Use `keys` to control which fields you want to include. The default is to include everything.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""metafields(keys: [String!]): Metadata@@ -5816,8 +5748,6 @@ type Attribute implements Node & ObjectWithMetadata @doc(category: "Attributes")Tip: Use GraphQL aliases to fetch multiple keys.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""privateMetafield(key: String!): String@@ -5825,8 +5755,6 @@ type Attribute implements Node & ObjectWithMetadata @doc(category: "Attributes")Private metadata. Requires staff permissions to access. Use `keys` to control which fields you want to include. The default is to include everything.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""privateMetafields(keys: [String!]): Metadata@@ -5839,8 +5767,6 @@ type Attribute implements Node & ObjectWithMetadata @doc(category: "Attributes")Tip: Use GraphQL aliases to fetch multiple keys.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""metafield(key: String!): String@@ -5848,8 +5774,6 @@ type Attribute implements Node & ObjectWithMetadata @doc(category: "Attributes")Public metadata. Use `keys` to control which fields you want to include. The default is to include everything.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""metafields(keys: [String!]): Metadata@@ -6368,8 +6292,6 @@ type Category implements Node & ObjectWithMetadata @doc(category: "Products") {Tip: Use GraphQL aliases to fetch multiple keys.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""privateMetafield(key: String!): String@@ -6377,8 +6299,6 @@ type Category implements Node & ObjectWithMetadata @doc(category: "Products") {Private metadata. Requires staff permissions to access. Use `keys` to control which fields you want to include. The default is to include everything.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""privateMetafields(keys: [String!]): Metadata@@ -6391,8 +6311,6 @@ type Category implements Node & ObjectWithMetadata @doc(category: "Products") {Tip: Use GraphQL aliases to fetch multiple keys.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""metafield(key: String!): String@@ -6400,8 +6318,6 @@ type Category implements Node & ObjectWithMetadata @doc(category: "Products") {Public metadata. Use `keys` to control which fields you want to include. The default is to include everything.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""metafields(keys: [String!]): MetadataseoTitle: String@@ -6939,8 +6855,6 @@ type ProductVariant implements Node & ObjectWithMetadata @doc(category: "ProductTip: Use GraphQL aliases to fetch multiple keys.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""privateMetafield(key: String!): String@@ -6948,8 +6862,6 @@ type ProductVariant implements Node & ObjectWithMetadata @doc(category: "ProductPrivate metadata. Requires staff permissions to access. Use `keys` to control which fields you want to include. The default is to include everything.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""privateMetafields(keys: [String!]): Metadata@@ -6962,8 +6874,6 @@ type ProductVariant implements Node & ObjectWithMetadata @doc(category: "ProductTip: Use GraphQL aliases to fetch multiple keys.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""metafield(key: String!): String@@ -6971,8 +6881,6 @@ type ProductVariant implements Node & ObjectWithMetadata @doc(category: "ProductPublic metadata. Use `keys` to control which fields you want to include. The default is to include everything.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""metafields(keys: [String!]): Metadataname: String!@@ -7258,8 +7166,6 @@ type ProductMedia implements Node & ObjectWithMetadata @doc(category: "Products"List of private metadata items. Requires staff permissions to access.Added in Saleor 3.12.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""privateMetadata: [MetadataItem!]!@@ -7269,8 +7175,6 @@ type ProductMedia implements Node & ObjectWithMetadata @doc(category: "Products"Tip: Use GraphQL aliases to fetch multiple keys.Added in Saleor 3.12.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""privateMetafield(key: String!): String@@ -7278,8 +7182,6 @@ type ProductMedia implements Node & ObjectWithMetadata @doc(category: "Products"Private metadata. Requires staff permissions to access. Use `keys` to control which fields you want to include. The default is to include everything.Added in Saleor 3.12.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""privateMetafields(keys: [String!]): Metadata@@ -7287,8 +7189,6 @@ type ProductMedia implements Node & ObjectWithMetadata @doc(category: "Products"List of public metadata items. Can be accessed without permissions.Added in Saleor 3.12.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""metadata: [MetadataItem!]!@@ -7298,8 +7198,6 @@ type ProductMedia implements Node & ObjectWithMetadata @doc(category: "Products"Tip: Use GraphQL aliases to fetch multiple keys.Added in Saleor 3.12.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""metafield(key: String!): String@@ -7307,8 +7205,6 @@ type ProductMedia implements Node & ObjectWithMetadata @doc(category: "Products"Public metadata. Use `keys` to control which fields you want to include. The default is to include everything.Added in Saleor 3.12.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""metafields(keys: [String!]): MetadatasortOrder: Int@@ -7363,8 +7259,6 @@ type DigitalContent implements Node & ObjectWithMetadata @doc(category: "ProductTip: Use GraphQL aliases to fetch multiple keys.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""privateMetafield(key: String!): String@@ -7372,8 +7266,6 @@ type DigitalContent implements Node & ObjectWithMetadata @doc(category: "ProductPrivate metadata. Requires staff permissions to access. Use `keys` to control which fields you want to include. The default is to include everything.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""privateMetafields(keys: [String!]): Metadata@@ -7386,8 +7278,6 @@ type DigitalContent implements Node & ObjectWithMetadata @doc(category: "ProductTip: Use GraphQL aliases to fetch multiple keys.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""metafield(key: String!): String@@ -7395,8 +7285,6 @@ type DigitalContent implements Node & ObjectWithMetadata @doc(category: "ProductPublic metadata. Use `keys` to control which fields you want to include. The default is to include everything.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""metafields(keys: [String!]): MetadatauseDefaultSettings: Boolean!@@ -7601,8 +7489,6 @@ type Collection implements Node & ObjectWithMetadata @doc(category: "Products")Tip: Use GraphQL aliases to fetch multiple keys.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""privateMetafield(key: String!): String@@ -7610,8 +7496,6 @@ type Collection implements Node & ObjectWithMetadata @doc(category: "Products")Private metadata. Requires staff permissions to access. Use `keys` to control which fields you want to include. The default is to include everything.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""privateMetafields(keys: [String!]): Metadata@@ -7624,8 +7508,6 @@ type Collection implements Node & ObjectWithMetadata @doc(category: "Products")Tip: Use GraphQL aliases to fetch multiple keys.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""metafield(key: String!): String@@ -7633,8 +7515,6 @@ type Collection implements Node & ObjectWithMetadata @doc(category: "Products")Public metadata. Use `keys` to control which fields you want to include. The default is to include everything.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""metafields(keys: [String!]): MetadataseoTitle: String@@ -8072,8 +7952,6 @@ type Page implements Node & ObjectWithMetadata @doc(category: "Pages") {Tip: Use GraphQL aliases to fetch multiple keys.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""privateMetafield(key: String!): String@@ -8081,8 +7959,6 @@ type Page implements Node & ObjectWithMetadata @doc(category: "Pages") {Private metadata. Requires staff permissions to access. Use `keys` to control which fields you want to include. The default is to include everything.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""privateMetafields(keys: [String!]): Metadata@@ -8095,8 +7971,6 @@ type Page implements Node & ObjectWithMetadata @doc(category: "Pages") {Tip: Use GraphQL aliases to fetch multiple keys.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""metafield(key: String!): String@@ -8104,8 +7978,6 @@ type Page implements Node & ObjectWithMetadata @doc(category: "Pages") {Public metadata. Use `keys` to control which fields you want to include. The default is to include everything.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""metafields(keys: [String!]): MetadataseoTitle: String@@ -8163,8 +8035,6 @@ type PageType implements Node & ObjectWithMetadata @doc(category: "Pages") {Tip: Use GraphQL aliases to fetch multiple keys.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""privateMetafield(key: String!): String@@ -8172,8 +8042,6 @@ type PageType implements Node & ObjectWithMetadata @doc(category: "Pages") {Private metadata. Requires staff permissions to access. Use `keys` to control which fields you want to include. The default is to include everything.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""privateMetafields(keys: [String!]): Metadata@@ -8186,8 +8054,6 @@ type PageType implements Node & ObjectWithMetadata @doc(category: "Pages") {Tip: Use GraphQL aliases to fetch multiple keys.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""metafield(key: String!): String@@ -8195,8 +8061,6 @@ type PageType implements Node & ObjectWithMetadata @doc(category: "Pages") {Public metadata. Use `keys` to control which fields you want to include. The default is to include everything.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""metafields(keys: [String!]): Metadataname: String!@@ -8305,8 +8169,6 @@ type Sale implements Node & ObjectWithMetadata @doc(category: "Discounts") {Tip: Use GraphQL aliases to fetch multiple keys.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""privateMetafield(key: String!): String@@ -8314,8 +8176,6 @@ type Sale implements Node & ObjectWithMetadata @doc(category: "Discounts") {Private metadata. Requires staff permissions to access. Use `keys` to control which fields you want to include. The default is to include everything.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""privateMetafields(keys: [String!]): Metadata@@ -8328,8 +8188,6 @@ type Sale implements Node & ObjectWithMetadata @doc(category: "Discounts") {Tip: Use GraphQL aliases to fetch multiple keys.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""metafield(key: String!): String@@ -8337,8 +8195,6 @@ type Sale implements Node & ObjectWithMetadata @doc(category: "Discounts") {Public metadata. Use `keys` to control which fields you want to include. The default is to include everything.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""metafields(keys: [String!]): Metadataname: String!@@ -8546,8 +8402,6 @@ type Voucher implements Node & ObjectWithMetadata @doc(category: "Discounts") {Tip: Use GraphQL aliases to fetch multiple keys.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""privateMetafield(key: String!): String@@ -8555,8 +8409,6 @@ type Voucher implements Node & ObjectWithMetadata @doc(category: "Discounts") {Private metadata. Requires staff permissions to access. Use `keys` to control which fields you want to include. The default is to include everything.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""privateMetafields(keys: [String!]): Metadata@@ -8569,8 +8421,6 @@ type Voucher implements Node & ObjectWithMetadata @doc(category: "Discounts") {Tip: Use GraphQL aliases to fetch multiple keys.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""metafield(key: String!): String@@ -8578,8 +8428,6 @@ type Voucher implements Node & ObjectWithMetadata @doc(category: "Discounts") {Public metadata. Use `keys` to control which fields you want to include. The default is to include everything.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""metafields(keys: [String!]): Metadataname: String@@ -8774,8 +8622,6 @@ type MenuItem implements Node & ObjectWithMetadata @doc(category: "Menu") {Tip: Use GraphQL aliases to fetch multiple keys.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""privateMetafield(key: String!): String@@ -8783,8 +8629,6 @@ type MenuItem implements Node & ObjectWithMetadata @doc(category: "Menu") {Private metadata. Requires staff permissions to access. Use `keys` to control which fields you want to include. The default is to include everything.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""privateMetafields(keys: [String!]): Metadata@@ -8797,8 +8641,6 @@ type MenuItem implements Node & ObjectWithMetadata @doc(category: "Menu") {Tip: Use GraphQL aliases to fetch multiple keys.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""metafield(key: String!): String@@ -8806,8 +8648,6 @@ type MenuItem implements Node & ObjectWithMetadata @doc(category: "Menu") {Public metadata. Use `keys` to control which fields you want to include. The default is to include everything.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""metafields(keys: [String!]): Metadataname: String!@@ -8852,8 +8692,6 @@ type Menu implements Node & ObjectWithMetadata @doc(category: "Menu") {Tip: Use GraphQL aliases to fetch multiple keys.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""privateMetafield(key: String!): String@@ -8861,8 +8699,6 @@ type Menu implements Node & ObjectWithMetadata @doc(category: "Menu") {Private metadata. Requires staff permissions to access. Use `keys` to control which fields you want to include. The default is to include everything.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""privateMetafields(keys: [String!]): Metadata@@ -8875,8 +8711,6 @@ type Menu implements Node & ObjectWithMetadata @doc(category: "Menu") {Tip: Use GraphQL aliases to fetch multiple keys.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""metafield(key: String!): String@@ -8884,8 +8718,6 @@ type Menu implements Node & ObjectWithMetadata @doc(category: "Menu") {Public metadata. Use `keys` to control which fields you want to include. The default is to include everything.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""metafields(keys: [String!]): Metadataname: String!@@ -8925,8 +8757,6 @@ type TaxConfiguration implements Node & ObjectWithMetadata @doc(category: "TaxesTip: Use GraphQL aliases to fetch multiple keys.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""privateMetafield(key: String!): String@@ -8934,8 +8764,6 @@ type TaxConfiguration implements Node & ObjectWithMetadata @doc(category: "TaxesPrivate metadata. Requires staff permissions to access. Use `keys` to control which fields you want to include. The default is to include everything.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""privateMetafields(keys: [String!]): Metadata@@ -8948,8 +8776,6 @@ type TaxConfiguration implements Node & ObjectWithMetadata @doc(category: "TaxesTip: Use GraphQL aliases to fetch multiple keys.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""metafield(key: String!): String@@ -8957,8 +8783,6 @@ type TaxConfiguration implements Node & ObjectWithMetadata @doc(category: "TaxesPublic metadata. Use `keys` to control which fields you want to include. The default is to include everything.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""metafields(keys: [String!]): Metadata@@ -9415,8 +9239,6 @@ type User implements Node & ObjectWithMetadata @doc(category: "Users") {Tip: Use GraphQL aliases to fetch multiple keys.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""privateMetafield(key: String!): String@@ -9424,8 +9246,6 @@ type User implements Node & ObjectWithMetadata @doc(category: "Users") {Private metadata. Requires staff permissions to access. Use `keys` to control which fields you want to include. The default is to include everything.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""privateMetafields(keys: [String!]): Metadata@@ -9438,8 +9258,6 @@ type User implements Node & ObjectWithMetadata @doc(category: "Users") {Tip: Use GraphQL aliases to fetch multiple keys.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""metafield(key: String!): String@@ -9447,8 +9265,6 @@ type User implements Node & ObjectWithMetadata @doc(category: "Users") {Public metadata. Use `keys` to control which fields you want to include. The default is to include everything.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""metafields(keys: [String!]): Metadata@@ -9653,8 +9469,6 @@ type Checkout implements Node & ObjectWithMetadata @doc(category: "Checkout") {Tip: Use GraphQL aliases to fetch multiple keys.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""privateMetafield(key: String!): String@@ -9662,8 +9476,6 @@ type Checkout implements Node & ObjectWithMetadata @doc(category: "Checkout") {Private metadata. Requires staff permissions to access. Use `keys` to control which fields you want to include. The default is to include everything.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""privateMetafields(keys: [String!]): Metadata@@ -9676,8 +9488,6 @@ type Checkout implements Node & ObjectWithMetadata @doc(category: "Checkout") {Tip: Use GraphQL aliases to fetch multiple keys.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""metafield(key: String!): String@@ -9685,8 +9495,6 @@ type Checkout implements Node & ObjectWithMetadata @doc(category: "Checkout") {Public metadata. Use `keys` to control which fields you want to include. The default is to include everything.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""metafields(keys: [String!]): Metadata@@ -9914,8 +9722,6 @@ type GiftCard implements Node & ObjectWithMetadata @doc(category: "Gift cards")Tip: Use GraphQL aliases to fetch multiple keys.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""privateMetafield(key: String!): String@@ -9923,8 +9729,6 @@ type GiftCard implements Node & ObjectWithMetadata @doc(category: "Gift cards")Private metadata. Requires staff permissions to access. Use `keys` to control which fields you want to include. The default is to include everything.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""privateMetafields(keys: [String!]): Metadata@@ -9937,8 +9741,6 @@ type GiftCard implements Node & ObjectWithMetadata @doc(category: "Gift cards")Tip: Use GraphQL aliases to fetch multiple keys.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""metafield(key: String!): String@@ -9946,8 +9748,6 @@ type GiftCard implements Node & ObjectWithMetadata @doc(category: "Gift cards")Public metadata. Use `keys` to control which fields you want to include. The default is to include everything.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""metafields(keys: [String!]): Metadata@@ -10158,8 +9958,6 @@ type CheckoutLine implements Node & ObjectWithMetadata @doc(category: "Checkout"List of private metadata items. Requires staff permissions to access.Added in Saleor 3.5.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""privateMetadata: [MetadataItem!]!@@ -10169,8 +9967,6 @@ type CheckoutLine implements Node & ObjectWithMetadata @doc(category: "Checkout"Tip: Use GraphQL aliases to fetch multiple keys.Added in Saleor 3.5.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""privateMetafield(key: String!): String@@ -10178,8 +9974,6 @@ type CheckoutLine implements Node & ObjectWithMetadata @doc(category: "Checkout"Private metadata. Requires staff permissions to access. Use `keys` to control which fields you want to include. The default is to include everything.Added in Saleor 3.5.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""privateMetafields(keys: [String!]): Metadata@@ -10187,8 +9981,6 @@ type CheckoutLine implements Node & ObjectWithMetadata @doc(category: "Checkout"List of public metadata items. Can be accessed without permissions.Added in Saleor 3.5.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""metadata: [MetadataItem!]!@@ -10198,8 +9990,6 @@ type CheckoutLine implements Node & ObjectWithMetadata @doc(category: "Checkout"Tip: Use GraphQL aliases to fetch multiple keys.Added in Saleor 3.5.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""metafield(key: String!): String@@ -10207,8 +9997,6 @@ type CheckoutLine implements Node & ObjectWithMetadata @doc(category: "Checkout"Public metadata. Use `keys` to control which fields you want to include. The default is to include everything.Added in Saleor 3.5.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""metafields(keys: [String!]): Metadata@@ -10271,8 +10059,6 @@ type TransactionItem implements Node & ObjectWithMetadata @doc(category: "PaymenTip: Use GraphQL aliases to fetch multiple keys.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""privateMetafield(key: String!): String@@ -10280,8 +10066,6 @@ type TransactionItem implements Node & ObjectWithMetadata @doc(category: "PaymenPrivate metadata. Requires staff permissions to access. Use `keys` to control which fields you want to include. The default is to include everything.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""privateMetafields(keys: [String!]): Metadata@@ -10294,8 +10078,6 @@ type TransactionItem implements Node & ObjectWithMetadata @doc(category: "PaymenTip: Use GraphQL aliases to fetch multiple keys.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""metafield(key: String!): String@@ -10303,8 +10085,6 @@ type TransactionItem implements Node & ObjectWithMetadata @doc(category: "PaymenPublic metadata. Use `keys` to control which fields you want to include. The default is to include everything.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""metafields(keys: [String!]): MetadatacreatedAt: DateTime!@@ -10432,8 +10212,6 @@ type Order implements Node & ObjectWithMetadata @doc(category: "Orders") {Tip: Use GraphQL aliases to fetch multiple keys.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""privateMetafield(key: String!): String@@ -10441,8 +10219,6 @@ type Order implements Node & ObjectWithMetadata @doc(category: "Orders") {Private metadata. Requires staff permissions to access. Use `keys` to control which fields you want to include. The default is to include everything.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""privateMetafields(keys: [String!]): Metadata@@ -10455,8 +10231,6 @@ type Order implements Node & ObjectWithMetadata @doc(category: "Orders") {Tip: Use GraphQL aliases to fetch multiple keys.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""metafield(key: String!): String@@ -10464,8 +10238,6 @@ type Order implements Node & ObjectWithMetadata @doc(category: "Orders") {Public metadata. Use `keys` to control which fields you want to include. The default is to include everything.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""metafields(keys: [String!]): Metadatacreated: DateTime!@@ -10835,8 +10607,6 @@ type Fulfillment implements Node & ObjectWithMetadata @doc(category: "Orders") {Tip: Use GraphQL aliases to fetch multiple keys.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""privateMetafield(key: String!): String@@ -10844,8 +10614,6 @@ type Fulfillment implements Node & ObjectWithMetadata @doc(category: "Orders") {Private metadata. Requires staff permissions to access. Use `keys` to control which fields you want to include. The default is to include everything.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""privateMetafields(keys: [String!]): Metadata@@ -10858,8 +10626,6 @@ type Fulfillment implements Node & ObjectWithMetadata @doc(category: "Orders") {Tip: Use GraphQL aliases to fetch multiple keys.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""metafield(key: String!): String@@ -10867,8 +10633,6 @@ type Fulfillment implements Node & ObjectWithMetadata @doc(category: "Orders") {Public metadata. Use `keys` to control which fields you want to include. The default is to include everything.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""metafields(keys: [String!]): MetadatafulfillmentOrder: Int!@@ -10912,8 +10676,6 @@ type OrderLine implements Node & ObjectWithMetadata @doc(category: "Orders") {List of private metadata items. Requires staff permissions to access.Added in Saleor 3.5.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""privateMetadata: [MetadataItem!]!@@ -10923,8 +10685,6 @@ type OrderLine implements Node & ObjectWithMetadata @doc(category: "Orders") {Tip: Use GraphQL aliases to fetch multiple keys.Added in Saleor 3.5.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""privateMetafield(key: String!): String@@ -10932,8 +10692,6 @@ type OrderLine implements Node & ObjectWithMetadata @doc(category: "Orders") {Private metadata. Requires staff permissions to access. Use `keys` to control which fields you want to include. The default is to include everything.Added in Saleor 3.5.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""privateMetafields(keys: [String!]): Metadata@@ -10941,8 +10699,6 @@ type OrderLine implements Node & ObjectWithMetadata @doc(category: "Orders") {List of public metadata items. Can be accessed without permissions.Added in Saleor 3.5.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""metadata: [MetadataItem!]!@@ -10952,8 +10708,6 @@ type OrderLine implements Node & ObjectWithMetadata @doc(category: "Orders") {Tip: Use GraphQL aliases to fetch multiple keys.Added in Saleor 3.5.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""metafield(key: String!): String@@ -10961,8 +10715,6 @@ type OrderLine implements Node & ObjectWithMetadata @doc(category: "Orders") {Public metadata. Use `keys` to control which fields you want to include. The default is to include everything.Added in Saleor 3.5.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""metafields(keys: [String!]): MetadataproductName: String!@@ -11116,8 +10868,6 @@ type Invoice implements ObjectWithMetadata & Job & Node @doc(category: "Orders")Tip: Use GraphQL aliases to fetch multiple keys.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""privateMetafield(key: String!): String@@ -11125,8 +10875,6 @@ type Invoice implements ObjectWithMetadata & Job & Node @doc(category: "Orders")Private metadata. Requires staff permissions to access. Use `keys` to control which fields you want to include. The default is to include everything.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""privateMetafields(keys: [String!]): Metadata@@ -11139,8 +10887,6 @@ type Invoice implements ObjectWithMetadata & Job & Node @doc(category: "Orders")Tip: Use GraphQL aliases to fetch multiple keys.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""metafield(key: String!): String@@ -11148,8 +10894,6 @@ type Invoice implements ObjectWithMetadata & Job & Node @doc(category: "Orders")Public metadata. Use `keys` to control which fields you want to include. The default is to include everything.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""metafields(keys: [String!]): Metadata@@ -11279,8 +11023,6 @@ type Payment implements Node & ObjectWithMetadata @doc(category: "Payments") {Tip: Use GraphQL aliases to fetch multiple keys.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""privateMetafield(key: String!): String@@ -11288,8 +11030,6 @@ type Payment implements Node & ObjectWithMetadata @doc(category: "Payments") {Private metadata. Requires staff permissions to access. Use `keys` to control which fields you want to include. The default is to include everything.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""privateMetafields(keys: [String!]): Metadata@@ -11302,8 +11042,6 @@ type Payment implements Node & ObjectWithMetadata @doc(category: "Payments") {Tip: Use GraphQL aliases to fetch multiple keys.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""metafield(key: String!): String@@ -11311,8 +11049,6 @@ type Payment implements Node & ObjectWithMetadata @doc(category: "Payments") {Public metadata. Use `keys` to control which fields you want to include. The default is to include everything.Added in Saleor 3.3.-- Note: this API is currently in Feature Preview and can be subject to changes at later point."""metafields(keys: [String!]): Metadatagateway: String!