From 97c7a32455a4811945d9e7236cda7a276188a5ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krzysztof=20=C5=BBuraw?= <9116238+krzysztofzuraw@users.noreply.github.com> Date: Tue, 4 Apr 2023 10:55:12 +0200 Subject: [PATCH] Revert author field on app details page (#3453) --- introspection.json | 647 +-------------------- locale/defaultMessages.json | 3 - package.json | 2 +- schema.graphql | 259 +-------- src/apps/components/AppPage/AppPage.tsx | 1 - src/apps/components/AppPage/AppPageNav.tsx | 67 +-- src/apps/fixtures.ts | 1 - src/apps/queries.ts | 1 - src/graphql/hooks.generated.ts | 1 - src/graphql/typePolicies.generated.ts | 50 +- src/graphql/types.generated.ts | 103 +--- 11 files changed, 90 insertions(+), 1045 deletions(-) diff --git a/introspection.json b/introspection.json index f86425b00..0453ae98d 100644 --- a/introspection.json +++ b/introspection.json @@ -549,12 +549,6 @@ "isDeprecated": false, "deprecationReason": null }, - { - "name": "PASSWORD_RESET_ALREADY_REQUESTED", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, { "name": "REQUIRED", "description": null, @@ -3105,18 +3099,6 @@ "isDeprecated": false, "deprecationReason": null }, - { - "name": "author", - "description": "The App's author name.\n\nAdded in Saleor 3.13.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, { "name": "extensions", "description": "App's dashboard extensions.\n\nAdded in Saleor 3.1.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", @@ -3870,12 +3852,6 @@ "description": null, "isDeprecated": false, "deprecationReason": null - }, - { - "name": "UNSUPPORTED_SALEOR_VERSION", - "description": null, - "isDeprecated": false, - "deprecationReason": null } ], "possibleTypes": null @@ -4907,49 +4883,6 @@ "enumValues": null, "possibleTypes": null }, - { - "kind": "OBJECT", - "name": "AppManifestRequiredSaleorVersion", - "description": null, - "fields": [ - { - "name": "constraint", - "description": "Required Saleor version as semver range.\n\nAdded in Saleor 3.13.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "satisfied", - "description": "Informs if the Saleor version matches the required one.\n\nAdded in Saleor 3.13.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, { "kind": "OBJECT", "name": "AppManifestWebhook", @@ -10640,7 +10573,7 @@ }, { "name": "values", - "description": "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.", + "description": "The value or slug of an attribute to resolve. If the passed value is non-existent, it will be created.", "type": { "kind": "LIST", "name": null, @@ -10658,130 +10591,6 @@ "isDeprecated": false, "deprecationReason": null }, - { - "name": "dropdown", - "description": "Attribute value ID.\n\nAdded in Saleor 3.12.", - "type": { - "kind": "INPUT_OBJECT", - "name": "AttributeValueSelectableTypeInput", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "swatch", - "description": "Attribute value ID.\n\nAdded in Saleor 3.12.", - "type": { - "kind": "INPUT_OBJECT", - "name": "AttributeValueSelectableTypeInput", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "multiselect", - "description": "List of attribute value IDs.\n\nAdded in Saleor 3.12.", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "AttributeValueSelectableTypeInput", - "ofType": null - } - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "numeric", - "description": "Numeric value of an attribute.\n\nAdded in Saleor 3.12.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "file", - "description": "URL of the file attribute. Every time, a new value is created.\n\nAdded in Saleor 3.12.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "contentType", - "description": "File content type.\n\nAdded in Saleor 3.12.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "references", - "description": "List of entity IDs that will be used as references.\n\nAdded in Saleor 3.12.", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "richText", - "description": "Text content in JSON format.\n\nAdded in Saleor 3.12.", - "type": { - "kind": "SCALAR", - "name": "JSONString", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "plainText", - "description": "Plain text content.\n\nAdded in Saleor 3.12.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, { "name": "boolean", "description": "The boolean value of an attribute to resolve. If the passed value is non-existent, it will be created.", @@ -10793,30 +10602,6 @@ "defaultValue": null, "isDeprecated": false, "deprecationReason": null - }, - { - "name": "date", - "description": "Represents the date value of the attribute value.\n\nAdded in Saleor 3.12.", - "type": { - "kind": "SCALAR", - "name": "Date", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "dateTime", - "description": "Represents the date/time value of the attribute value.\n\nAdded in Saleor 3.12.", - "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null } ], "interfaces": null, @@ -11822,7 +11607,7 @@ "args": [ { "name": "size", - "description": "Desired longest side the image in pixels. Defaults to 4096. Images are never cropped. Pass 0 to retrieve the original size (not recommended).", + "description": "Size of the image. If not provided, the original image will be returned.", "type": { "kind": "SCALAR", "name": "Int", @@ -11834,7 +11619,7 @@ }, { "name": "format", - "description": "The format of the image. When not provided, format of the original image will be used.\n\nAdded in Saleor 3.6.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", + "description": "The format of the image. When not provided, format of the original image will be used. Must be provided together with the size value, otherwise original image will be returned.\n\nAdded in Saleor 3.6.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", "type": { "kind": "ENUM", "name": "ThumbnailFormatEnum", @@ -18622,7 +18407,7 @@ "args": [ { "name": "size", - "description": "Desired longest side the image in pixels. Defaults to 4096. Images are never cropped. Pass 0 to retrieve the original size (not recommended).", + "description": "Size of the image. If not provided, the original image will be returned.", "type": { "kind": "SCALAR", "name": "Int", @@ -18634,7 +18419,7 @@ }, { "name": "format", - "description": "The format of the image. When not provided, format of the original image will be used.\n\nAdded in Saleor 3.6.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", + "description": "The format of the image. When not provided, format of the original image will be used. Must be provided together with the size value, otherwise original image will be returned.\n\nAdded in Saleor 3.6.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", "type": { "kind": "ENUM", "name": "ThumbnailFormatEnum", @@ -41434,30 +41219,6 @@ }, "isDeprecated": false, "deprecationReason": null - }, - { - "name": "requiredSaleorVersion", - "description": "Determines the app's required Saleor version as semver range.\n\nAdded in Saleor 3.13.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "AppManifestRequiredSaleorVersion", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "author", - "description": "The App's author name.\n\nAdded in Saleor 3.13.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null } ], "inputFields": null, @@ -45833,55 +45594,6 @@ "isDeprecated": false, "deprecationReason": null }, - { - "name": "stockBulkUpdate", - "description": "Updates stocks for a given variant and warehouse.\n\nAdded in Saleor 3.13.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point. \n\nRequires one of the following permissions: MANAGE_PRODUCTS.", - "args": [ - { - "name": "errorPolicy", - "description": "Policies of error handling. DEFAULT: REJECT_EVERYTHING", - "type": { - "kind": "ENUM", - "name": "ErrorPolicyEnum", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "stocks", - "description": "Input list of stocks to update.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "StockBulkUpdateInput", - "ofType": null - } - } - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "OBJECT", - "name": "StockBulkUpdate", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, { "name": "staffNotificationRecipientCreate", "description": "Creates a new staff notification recipient. \n\nRequires one of the following permissions: MANAGE_SETTINGS.", @@ -59081,7 +58793,7 @@ }, { "name": "shippingTaxClass", - "description": "Denormalized tax class assigned to the shipping method.\n\nAdded in Saleor 3.9.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.\n\nRequires one of the following permissions: AUTHENTICATED_STAFF_USER, AUTHENTICATED_APP.", + "description": "Denormalized tax class assigned to the shipping method.\n\nAdded in Saleor 3.9.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.\n\nRequires one of the following permissions: AUTHENTICATED_STAFF_USER.", "args": [], "type": { "kind": "OBJECT", @@ -63597,7 +63309,7 @@ "args": [ { "name": "size", - "description": "Desired longest side the image in pixels. Defaults to 4096. Images are never cropped. Pass 0 to retrieve the original size (not recommended).", + "description": "Size of the image. If not provided, the original image will be returned.", "type": { "kind": "SCALAR", "name": "Int", @@ -63609,7 +63321,7 @@ }, { "name": "format", - "description": "The format of the image. When not provided, format of the original image will be used.\n\nAdded in Saleor 3.6.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", + "description": "The format of the image. When not provided, format of the original image will be used. Must be provided together with the size value, otherwise original image will be returned.\n\nAdded in Saleor 3.6.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", "type": { "kind": "ENUM", "name": "ThumbnailFormatEnum", @@ -63802,7 +63514,7 @@ }, { "name": "taxClass", - "description": "Denormalized tax class of the product in this order line.\n\nAdded in Saleor 3.9.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.\n\nRequires one of the following permissions: AUTHENTICATED_STAFF_USER, AUTHENTICATED_APP.", + "description": "Denormalized tax class of the product in this order line.\n\nAdded in Saleor 3.9.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.\n\nRequires one of the following permissions: AUTHENTICATED_STAFF_USER.", "args": [], "type": { "kind": "OBJECT", @@ -68326,7 +68038,7 @@ }, { "name": "availableAttributes", - "description": "Attributes that can be assigned to the page type.\n\nRequires one of the following permissions: MANAGE_PAGES, MANAGE_PAGE_TYPES_AND_ATTRIBUTES.", + "description": "Attributes that can be assigned to the page type.\n\nRequires one of the following permissions: MANAGE_PAGES.", "args": [ { "name": "filter", @@ -68411,7 +68123,7 @@ }, { "name": "hasPages", - "description": "Whether page type has pages assigned.\n\nRequires one of the following permissions: MANAGE_PAGES, MANAGE_PAGE_TYPES_AND_ATTRIBUTES.", + "description": "Whether page type has pages assigned.\n\nRequires one of the following permissions: MANAGE_PAGES.", "args": [], "type": { "kind": "SCALAR", @@ -74096,7 +73808,7 @@ "args": [ { "name": "size", - "description": "Desired longest side the image in pixels. Defaults to 4096. Images are never cropped. Pass 0 to retrieve the original size (not recommended).", + "description": "Size of the image. If not provided, the original image will be returned.", "type": { "kind": "SCALAR", "name": "Int", @@ -74108,7 +73820,7 @@ }, { "name": "format", - "description": "The format of the image. When not provided, format of the original image will be used.\n\nAdded in Saleor 3.6.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", + "description": "The format of the image. When not provided, format of the original image will be used. Must be provided together with the size value, otherwise original image will be returned.\n\nAdded in Saleor 3.6.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", "type": { "kind": "ENUM", "name": "ThumbnailFormatEnum", @@ -74509,7 +74221,7 @@ }, { "name": "taxClass", - "description": "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.\n\nRequires one of the following permissions: AUTHENTICATED_STAFF_USER, AUTHENTICATED_APP.", + "description": "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.\n\nRequires one of the following permissions: AUTHENTICATED_STAFF_USER.", "args": [], "type": { "kind": "OBJECT", @@ -75860,7 +75572,7 @@ }, { "name": "taxCode", - "description": "Tax rate for enabled tax gateway. \n\nDEPRECATED: 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.", + "description": "Tax rate for enabled tax gateway. \n\nDEPRECATED: this field will be removed in Saleor 4.0. Use tax classes to control the tax calculation for a product.", "type": { "kind": "SCALAR", "name": "String", @@ -76941,7 +76653,7 @@ "args": [ { "name": "size", - "description": "Desired longest side the image in pixels. Defaults to 4096. Images are never cropped. Pass 0 to retrieve the original size (not recommended).", + "description": "Size of the image. If not provided, the original image will be returned.", "type": { "kind": "SCALAR", "name": "Int", @@ -76953,7 +76665,7 @@ }, { "name": "format", - "description": "The format of the image. When not provided, format of the original image will be used.\n\nAdded in Saleor 3.6.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", + "description": "The format of the image. When not provided, format of the original image will be used. Must be provided together with the size value, otherwise original image will be returned.\n\nAdded in Saleor 3.6.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", "type": { "kind": "ENUM", "name": "ThumbnailFormatEnum", @@ -77102,7 +76814,7 @@ }, { "name": "taxCode", - "description": "Tax rate for enabled tax gateway. \n\nDEPRECATED: 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.", + "description": "Tax rate for enabled tax gateway. \n\nDEPRECATED: this field will be removed in Saleor 4.0. Use tax classes to control the tax calculation for a product.", "type": { "kind": "SCALAR", "name": "String", @@ -77464,7 +77176,7 @@ "args": [ { "name": "size", - "description": "Desired longest side the image in pixels. Defaults to 4096. Images are never cropped. Pass 0 to retrieve the original size (not recommended).", + "description": "Size of the image. If not provided, the original image will be returned.", "type": { "kind": "SCALAR", "name": "Int", @@ -77476,7 +77188,7 @@ }, { "name": "format", - "description": "The format of the image. When not provided, format of the original image will be used.\n\nAdded in Saleor 3.6.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", + "description": "The format of the image. When not provided, format of the original image will be used. Must be provided together with the size value, otherwise original image will be returned.\n\nAdded in Saleor 3.6.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", "type": { "kind": "ENUM", "name": "ThumbnailFormatEnum", @@ -79486,7 +79198,7 @@ }, { "name": "taxClass", - "description": "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.\n\nRequires one of the following permissions: AUTHENTICATED_STAFF_USER, AUTHENTICATED_APP.", + "description": "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.\n\nRequires one of the following permissions: AUTHENTICATED_STAFF_USER.", "args": [], "type": { "kind": "OBJECT", @@ -80304,7 +80016,7 @@ }, { "name": "taxCode", - "description": "Tax rate for enabled tax gateway. \n\nDEPRECATED: 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.", + "description": "Tax rate for enabled tax gateway. \n\nDEPRECATED: this field will be removed in Saleor 4.0.. Use tax classes to control the tax calculation for a product type.", "type": { "kind": "SCALAR", "name": "String", @@ -94167,7 +93879,7 @@ }, { "name": "taxClass", - "description": "Tax class assigned to this shipping method.\n\nRequires one of the following permissions: AUTHENTICATED_STAFF_USER, AUTHENTICATED_APP.", + "description": "Tax class assigned to this shipping method.\n\nRequires one of the following permissions: MANAGE_TAXES, MANAGE_SHIPPING.", "args": [], "type": { "kind": "OBJECT", @@ -99738,285 +99450,6 @@ ], "possibleTypes": null }, - { - "kind": "OBJECT", - "name": "StockBulkResult", - "description": null, - "fields": [ - { - "name": "stock", - "description": "Stock data.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "Stock", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "errors", - "description": "List of errors occurred on create or update attempt.", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "StockBulkUpdateError", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "StockBulkUpdate", - "description": "Updates stocks for a given variant and warehouse.\n\nAdded in Saleor 3.13.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point. \n\nRequires one of the following permissions: MANAGE_PRODUCTS.", - "fields": [ - { - "name": "count", - "description": "Returns how many objects were updated.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "results", - "description": "List of the updated stocks.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "StockBulkResult", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "errors", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "StockBulkUpdateError", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "StockBulkUpdateError", - "description": null, - "fields": [ - { - "name": "field", - "description": "Name of a field that caused the error. A value of `null` indicates that the error isn't associated with a particular field.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "message", - "description": "The error message.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "code", - "description": "The error code.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "StockBulkUpdateErrorCode", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "StockBulkUpdateErrorCode", - "description": "An enumeration.", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "GRAPHQL_ERROR", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "INVALID", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "NOT_FOUND", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "REQUIRED", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "StockBulkUpdateInput", - "description": null, - "fields": null, - "inputFields": [ - { - "name": "variantId", - "description": "Variant ID.", - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "variantExternalReference", - "description": "Variant external reference.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "warehouseId", - "description": "Warehouse ID.", - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "warehouseExternalReference", - "description": "Warehouse external reference.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "quantity", - "description": "Quantity of items available for sell.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, { "kind": "OBJECT", "name": "StockCountableConnection", @@ -103608,18 +103041,6 @@ "inputFields": null, "interfaces": null, "enumValues": [ - { - "name": "ORIGINAL", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "AVIF", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, { "name": "WEBP", "description": null, @@ -107055,7 +106476,7 @@ "args": [ { "name": "size", - "description": "Desired longest side the image in pixels. Defaults to 4096. Images are never cropped. Pass 0 to retrieve the original size (not recommended).", + "description": "Size of the image. If not provided, the original image will be returned.", "type": { "kind": "SCALAR", "name": "Int", @@ -107067,7 +106488,7 @@ }, { "name": "format", - "description": "The format of the image. When not provided, format of the original image will be used.\n\nAdded in Saleor 3.6.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", + "description": "The format of the image. When not provided, format of the original image will be used. Must be provided together with the size value, otherwise original image will be returned.\n\nAdded in Saleor 3.6.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", "type": { "kind": "ENUM", "name": "ThumbnailFormatEnum", @@ -117437,11 +116858,7 @@ "name": "include", "description": "Directs the executor to include this field or fragment only when the `if` argument is true.", "isRepeatable": false, - "locations": [ - "FIELD", - "FRAGMENT_SPREAD", - "INLINE_FRAGMENT" - ], + "locations": ["FIELD", "FRAGMENT_SPREAD", "INLINE_FRAGMENT"], "args": [ { "name": "if", @@ -117465,11 +116882,7 @@ "name": "skip", "description": "Directs the executor to skip this field or fragment when the `if` argument is true.", "isRepeatable": false, - "locations": [ - "FIELD", - "FRAGMENT_SPREAD", - "INLINE_FRAGMENT" - ], + "locations": ["FIELD", "FRAGMENT_SPREAD", "INLINE_FRAGMENT"], "args": [ { "name": "if", @@ -117518,9 +116931,7 @@ "name": "specifiedBy", "description": "Exposes a URL that specifies the behaviour of this scalar.", "isRepeatable": false, - "locations": [ - "SCALAR" - ], + "locations": ["SCALAR"], "args": [ { "name": "url", @@ -117542,4 +116953,4 @@ } ] } -} \ No newline at end of file +} diff --git a/locale/defaultMessages.json b/locale/defaultMessages.json index 99f7ef488..40ace529c 100644 --- a/locale/defaultMessages.json +++ b/locale/defaultMessages.json @@ -1188,9 +1188,6 @@ "context": "unassign collection from sale and save, button", "string": "Unassign and save" }, - "6SL46U": { - "string": "by {author}" - }, "6WRFp2": { "context": "order history message", "string": "Note was added to the order" diff --git a/package.json b/package.json index 41948ae29..8892c5238 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,7 @@ "@material-ui/lab": "^4.0.0-alpha.61", "@material-ui/styles": "^4.11.4", "@reach/auto-id": "^0.16.0", - "@saleor/macaw-ui": "^0.8.0-pre.52", + "@saleor/macaw-ui": "^0.8.0-pre.50", "@saleor/sdk": "^0.4.6", "@sentry/react": "^6.0.0", "@types/faker": "^5.1.6", diff --git a/schema.graphql b/schema.graphql index 7b351a998..3e9651b80 100644 --- a/schema.graphql +++ b/schema.graphql @@ -85,7 +85,6 @@ enum AccountErrorCode { PASSWORD_TOO_COMMON PASSWORD_TOO_SHORT PASSWORD_TOO_SIMILAR - PASSWORD_RESET_ALREADY_REQUESTED REQUIRED UNIQUE JWT_SIGNATURE_EXPIRED @@ -597,15 +596,6 @@ type App implements Node & ObjectWithMetadata { """JWT token used to authenticate by thridparty app.""" accessToken: String - """ - The App's author name. - - Added in Saleor 3.13. - - Note: this API is currently in Feature Preview and can be subject to changes at later point. - """ - author: String - """ App's dashboard extensions. @@ -744,7 +734,6 @@ enum AppErrorCode { UNIQUE OUT_OF_SCOPE_APP OUT_OF_SCOPE_PERMISSION - UNSUPPORTED_SALEOR_VERSION } """Represents app data.""" @@ -932,26 +921,6 @@ type AppManifestExtension { target: AppExtensionTargetEnum! } -type AppManifestRequiredSaleorVersion { - """ - Required Saleor version as semver range. - - Added in Saleor 3.13. - - Note: this API is currently in Feature Preview and can be subject to changes at later point. - """ - constraint: String! - - """ - Informs if the Saleor version matches the required one. - - Added in Saleor 3.13. - - Note: this API is currently in Feature Preview and can be subject to changes at later point. - """ - satisfied: Boolean! -} - type AppManifestWebhook { """The name of the webhook.""" name: String! @@ -2258,91 +2227,14 @@ input BulkAttributeValueInput { id: ID """ - 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!] - """ - Attribute value ID. - - Added in Saleor 3.12. - """ - dropdown: AttributeValueSelectableTypeInput - - """ - Attribute value ID. - - Added in Saleor 3.12. - """ - swatch: AttributeValueSelectableTypeInput - - """ - List of attribute value IDs. - - Added in Saleor 3.12. - """ - multiselect: [AttributeValueSelectableTypeInput!] - - """ - Numeric value of an attribute. - - Added in Saleor 3.12. - """ - numeric: String - - """ - URL of the file attribute. Every time, a new value is created. - - Added in Saleor 3.12. - """ - file: String - - """ - File content type. - - Added in Saleor 3.12. - """ - contentType: String - - """ - List of entity IDs that will be used as references. - - Added in Saleor 3.12. - """ - references: [ID!] - - """ - Text content in JSON format. - - Added in Saleor 3.12. - """ - richText: JSONString - - """ - Plain text content. - - Added in Saleor 3.12. - """ - plainText: String - """ The boolean value of an attribute to resolve. If the passed value is non-existent, it will be created. """ boolean: Boolean - - """ - Represents the date value of the attribute value. - - Added in Saleor 3.12. - """ - date: Date - - """ - Represents the date/time value of the attribute value. - - Added in Saleor 3.12. - """ - dateTime: DateTime } type BulkProductError { @@ -2585,12 +2477,12 @@ type Category implements Node & ObjectWithMetadata { ): CategoryCountableConnection backgroundImage( """ - Desired longest side the image in pixels. Defaults to 4096. Images are never cropped. Pass 0 to retrieve the original size (not recommended). + Size of the image. If not provided, the original image will be returned. """ size: Int """ - The format of the image. When not provided, format of the original image will be used. + The format of the image. When not provided, format of the original image will be used. Must be provided together with the size value, otherwise original image will be returned. Added in Saleor 3.6. @@ -4150,12 +4042,12 @@ type Collection implements Node & ObjectWithMetadata { ): ProductCountableConnection backgroundImage( """ - Desired longest side the image in pixels. Defaults to 4096. Images are never cropped. Pass 0 to retrieve the original size (not recommended). + Size of the image. If not provided, the original image will be returned. """ size: Int """ - The format of the image. When not provided, format of the original image will be used. + The format of the image. When not provided, format of the original image will be used. Must be provided together with the size value, otherwise original image will be returned. Added in Saleor 3.6. @@ -8742,24 +8634,6 @@ type Manifest { Note: this API is currently in Feature Preview and can be subject to changes at later point. """ audience: String - - """ - Determines the app's required Saleor version as semver range. - - Added in Saleor 3.13. - - Note: this API is currently in Feature Preview and can be subject to changes at later point. - """ - requiredSaleorVersion: AppManifestRequiredSaleorVersion - - """ - The App's author name. - - Added in Saleor 3.13. - - Note: this API is currently in Feature Preview and can be subject to changes at later point. - """ - author: String } type Margin { @@ -9772,23 +9646,6 @@ type Mutation { taxExemption: Boolean! ): TaxExemptionManage - """ - Updates stocks for a given variant and warehouse. - - Added in Saleor 3.13. - - Note: this API is currently in Feature Preview and can be subject to changes at later point. - - Requires one of the following permissions: MANAGE_PRODUCTS. - """ - stockBulkUpdate( - """Policies of error handling. DEFAULT: REJECT_EVERYTHING""" - errorPolicy: ErrorPolicyEnum - - """Input list of stocks to update.""" - stocks: [StockBulkUpdateInput!]! - ): StockBulkUpdate - """ Creates a new staff notification recipient. @@ -13672,7 +13529,7 @@ type Order implements Node & ObjectWithMetadata { Note: this API is currently in Feature Preview and can be subject to changes at later point. - Requires one of the following permissions: AUTHENTICATED_STAFF_USER, AUTHENTICATED_APP. + Requires one of the following permissions: AUTHENTICATED_STAFF_USER. """ shippingTaxClass: TaxClass @@ -14634,12 +14491,12 @@ type OrderLine implements Node & ObjectWithMetadata { digitalContentUrl: DigitalContentUrl thumbnail( """ - Desired longest side the image in pixels. Defaults to 4096. Images are never cropped. Pass 0 to retrieve the original size (not recommended). + Size of the image. If not provided, the original image will be returned. """ size: Int """ - The format of the image. When not provided, format of the original image will be used. + The format of the image. When not provided, format of the original image will be used. Must be provided together with the size value, otherwise original image will be returned. Added in Saleor 3.6. @@ -14700,7 +14557,7 @@ type OrderLine implements Node & ObjectWithMetadata { Note: this API is currently in Feature Preview and can be subject to changes at later point. - Requires one of the following permissions: AUTHENTICATED_STAFF_USER, AUTHENTICATED_APP. + Requires one of the following permissions: AUTHENTICATED_STAFF_USER. """ taxClass: TaxClass @@ -15734,7 +15591,7 @@ type PageType implements Node & ObjectWithMetadata { """ Attributes that can be assigned to the page type. - Requires one of the following permissions: MANAGE_PAGES, MANAGE_PAGE_TYPES_AND_ATTRIBUTES. + Requires one of the following permissions: MANAGE_PAGES. """ availableAttributes( filter: AttributeFilterInput @@ -15756,7 +15613,7 @@ type PageType implements Node & ObjectWithMetadata { """ Whether page type has pages assigned. - Requires one of the following permissions: MANAGE_PAGES, MANAGE_PAGE_TYPES_AND_ATTRIBUTES. + Requires one of the following permissions: MANAGE_PAGES. """ hasPages: Boolean } @@ -16987,12 +16844,12 @@ type Product implements Node & ObjectWithMetadata { descriptionJson: JSONString @deprecated(reason: "This field will be removed in Saleor 4.0. Use the `description` field instead.") thumbnail( """ - Desired longest side the image in pixels. Defaults to 4096. Images are never cropped. Pass 0 to retrieve the original size (not recommended). + Size of the image. If not provided, the original image will be returned. """ size: Int """ - The format of the image. When not provided, format of the original image will be used. + The format of the image. When not provided, format of the original image will be used. Must be provided together with the size value, otherwise original image will be returned. Added in Saleor 3.6. @@ -17108,7 +16965,7 @@ type Product implements Node & ObjectWithMetadata { """ 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. - Requires one of the following permissions: AUTHENTICATED_STAFF_USER, AUTHENTICATED_APP. + Requires one of the following permissions: AUTHENTICATED_STAFF_USER. """ taxClass: TaxClass @@ -17417,7 +17274,7 @@ input ProductCreateInput { """ 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. + DEPRECATED: this field will be removed in Saleor 4.0. Use tax classes to control the tax calculation for a product. """ taxCode: String @@ -17661,12 +17518,12 @@ type ProductImage { sortOrder: Int url( """ - Desired longest side the image in pixels. Defaults to 4096. Images are never cropped. Pass 0 to retrieve the original size (not recommended). + Size of the image. If not provided, the original image will be returned. """ size: Int """ - The format of the image. When not provided, format of the original image will be used. + The format of the image. When not provided, format of the original image will be used. Must be provided together with the size value, otherwise original image will be returned. Added in Saleor 3.6. @@ -17714,7 +17571,7 @@ input ProductInput { """ 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. + DEPRECATED: this field will be removed in Saleor 4.0. Use tax classes to control the tax calculation for a product. """ taxCode: String @@ -17816,12 +17673,12 @@ type ProductMedia implements Node & ObjectWithMetadata { oembedData: JSONString! url( """ - Desired longest side the image in pixels. Defaults to 4096. Images are never cropped. Pass 0 to retrieve the original size (not recommended). + Size of the image. If not provided, the original image will be returned. """ size: Int """ - The format of the image. When not provided, format of the original image will be used. + The format of the image. When not provided, format of the original image will be used. Must be provided together with the size value, otherwise original image will be returned. Added in Saleor 3.6. @@ -18316,7 +18173,7 @@ type ProductType implements Node & ObjectWithMetadata { """ 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. - Requires one of the following permissions: AUTHENTICATED_STAFF_USER, AUTHENTICATED_APP. + Requires one of the following permissions: AUTHENTICATED_STAFF_USER. """ taxClass: TaxClass @@ -18468,7 +18325,7 @@ input ProductTypeInput { """ 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. + DEPRECATED: this field will be removed in Saleor 4.0.. Use tax classes to control the tax calculation for a product type. """ taxCode: String @@ -22025,7 +21882,7 @@ type ShippingMethodType implements Node & ObjectWithMetadata { """ Tax class assigned to this shipping method. - Requires one of the following permissions: AUTHENTICATED_STAFF_USER, AUTHENTICATED_APP. + Requires one of the following permissions: MANAGE_TAXES, MANAGE_SHIPPING. """ taxClass: TaxClass } @@ -23304,70 +23161,6 @@ enum StockAvailability { OUT_OF_STOCK } -type StockBulkResult { - """Stock data.""" - stock: Stock - - """List of errors occurred on create or update attempt.""" - errors: [StockBulkUpdateError!] -} - -""" -Updates stocks for a given variant and warehouse. - -Added in Saleor 3.13. - -Note: this API is currently in Feature Preview and can be subject to changes at later point. - -Requires one of the following permissions: MANAGE_PRODUCTS. -""" -type StockBulkUpdate { - """Returns how many objects were updated.""" - count: Int! - - """List of the updated stocks.""" - results: [StockBulkResult!]! - errors: [StockBulkUpdateError!]! -} - -type StockBulkUpdateError { - """ - Name of a field that caused the error. A value of `null` indicates that the error isn't associated with a particular field. - """ - field: String - - """The error message.""" - message: String - - """The error code.""" - code: StockBulkUpdateErrorCode! -} - -"""An enumeration.""" -enum StockBulkUpdateErrorCode { - GRAPHQL_ERROR - INVALID - NOT_FOUND - REQUIRED -} - -input StockBulkUpdateInput { - """Variant ID.""" - variantId: ID - - """Variant external reference.""" - variantExternalReference: String - - """Warehouse ID.""" - warehouseId: ID - - """Warehouse external reference.""" - warehouseExternalReference: String - - """Quantity of items available for sell.""" - quantity: Int! -} - type StockCountableConnection { """Pagination data for this connection.""" pageInfo: PageInfo! @@ -24237,8 +24030,6 @@ type ThumbnailCreated implements Event { """An enumeration.""" enum ThumbnailFormatEnum { - ORIGINAL - AVIF WEBP } @@ -24994,12 +24785,12 @@ type User implements Node & ObjectWithMetadata { editableGroups: [Group!] avatar( """ - Desired longest side the image in pixels. Defaults to 4096. Images are never cropped. Pass 0 to retrieve the original size (not recommended). + Size of the image. If not provided, the original image will be returned. """ size: Int """ - The format of the image. When not provided, format of the original image will be used. + The format of the image. When not provided, format of the original image will be used. Must be provided together with the size value, otherwise original image will be returned. Added in Saleor 3.6. diff --git a/src/apps/components/AppPage/AppPage.tsx b/src/apps/components/AppPage/AppPage.tsx index f894113ba..fd99fcf5e 100644 --- a/src/apps/components/AppPage/AppPage.tsx +++ b/src/apps/components/AppPage/AppPage.tsx @@ -28,7 +28,6 @@ export const AppPage: React.FC = ({ name={data?.name} supportUrl={data?.supportUrl} homepageUrl={data?.homepageUrl} - author={data?.author} /> = ({ name, supportUrl, homepageUrl, - author, }) => { const location = useLocation(); const goBackLink = location.state?.from ?? AppUrls.resolveAppListUrl(); @@ -35,48 +33,33 @@ export const AppPageNav: React.FC = ({ - - {name} - - {author && ( - - )} - - + {name} - - - {supportUrl && ( - - )} - {homepageUrl && ( - - )} + + {supportUrl && ( + + )} + {homepageUrl && ( + + )} + ); diff --git a/src/apps/fixtures.ts b/src/apps/fixtures.ts index d9aec8316..2a22c2d98 100644 --- a/src/apps/fixtures.ts +++ b/src/apps/fixtures.ts @@ -105,7 +105,6 @@ export const appDetails: NonNullable = { isActive: true, metadata: [], name: "app1", - author: "Saleor Commerce", permissions: [ { __typename: "Permission", diff --git a/src/apps/queries.ts b/src/apps/queries.ts index 9dfe4bb5b..5889385fc 100644 --- a/src/apps/queries.ts +++ b/src/apps/queries.ts @@ -46,7 +46,6 @@ export const appDetails = gql` app(id: $id) { ...App aboutApp - author permissions { code name diff --git a/src/graphql/hooks.generated.ts b/src/graphql/hooks.generated.ts index f7405935c..e633fca91 100644 --- a/src/graphql/hooks.generated.ts +++ b/src/graphql/hooks.generated.ts @@ -3414,7 +3414,6 @@ export const AppDocument = gql` app(id: $id) { ...App aboutApp - author permissions { code name diff --git a/src/graphql/typePolicies.generated.ts b/src/graphql/typePolicies.generated.ts index fa2188549..2c038cfab 100644 --- a/src/graphql/typePolicies.generated.ts +++ b/src/graphql/typePolicies.generated.ts @@ -158,7 +158,7 @@ export type AllocationFieldPolicy = { quantity?: FieldPolicy | FieldReadFunction, warehouse?: FieldPolicy | FieldReadFunction }; -export type AppKeySpecifier = ('id' | 'privateMetadata' | 'privateMetafield' | 'privateMetafields' | 'metadata' | 'metafield' | 'metafields' | 'permissions' | 'created' | 'isActive' | 'name' | 'type' | 'tokens' | 'webhooks' | 'aboutApp' | 'dataPrivacy' | 'dataPrivacyUrl' | 'homepageUrl' | 'supportUrl' | 'configurationUrl' | 'appUrl' | 'manifestUrl' | 'version' | 'accessToken' | 'author' | 'extensions' | AppKeySpecifier)[]; +export type AppKeySpecifier = ('id' | 'privateMetadata' | 'privateMetafield' | 'privateMetafields' | 'metadata' | 'metafield' | 'metafields' | 'permissions' | 'created' | 'isActive' | 'name' | 'type' | 'tokens' | 'webhooks' | 'aboutApp' | 'dataPrivacy' | 'dataPrivacyUrl' | 'homepageUrl' | 'supportUrl' | 'configurationUrl' | 'appUrl' | 'manifestUrl' | 'version' | 'accessToken' | 'extensions' | AppKeySpecifier)[]; export type AppFieldPolicy = { id?: FieldPolicy | FieldReadFunction, privateMetadata?: FieldPolicy | FieldReadFunction, @@ -184,7 +184,6 @@ export type AppFieldPolicy = { manifestUrl?: FieldPolicy | FieldReadFunction, version?: FieldPolicy | FieldReadFunction, accessToken?: FieldPolicy | FieldReadFunction, - author?: FieldPolicy | FieldReadFunction, extensions?: FieldPolicy | FieldReadFunction }; export type AppActivateKeySpecifier = ('appErrors' | 'errors' | 'app' | AppActivateKeySpecifier)[]; @@ -304,11 +303,6 @@ export type AppManifestExtensionFieldPolicy = { mount?: FieldPolicy | FieldReadFunction, target?: FieldPolicy | FieldReadFunction }; -export type AppManifestRequiredSaleorVersionKeySpecifier = ('constraint' | 'satisfied' | AppManifestRequiredSaleorVersionKeySpecifier)[]; -export type AppManifestRequiredSaleorVersionFieldPolicy = { - constraint?: FieldPolicy | FieldReadFunction, - satisfied?: FieldPolicy | FieldReadFunction -}; export type AppManifestWebhookKeySpecifier = ('name' | 'asyncEvents' | 'syncEvents' | 'query' | 'targetUrl' | AppManifestWebhookKeySpecifier)[]; export type AppManifestWebhookFieldPolicy = { name?: FieldPolicy | FieldReadFunction, @@ -2093,7 +2087,7 @@ export type LimitsFieldPolicy = { staffUsers?: FieldPolicy | FieldReadFunction, warehouses?: FieldPolicy | FieldReadFunction }; -export type ManifestKeySpecifier = ('identifier' | 'version' | 'name' | 'about' | 'permissions' | 'appUrl' | 'configurationUrl' | 'tokenTargetUrl' | 'dataPrivacy' | 'dataPrivacyUrl' | 'homepageUrl' | 'supportUrl' | 'extensions' | 'webhooks' | 'audience' | 'requiredSaleorVersion' | 'author' | ManifestKeySpecifier)[]; +export type ManifestKeySpecifier = ('identifier' | 'version' | 'name' | 'about' | 'permissions' | 'appUrl' | 'configurationUrl' | 'tokenTargetUrl' | 'dataPrivacy' | 'dataPrivacyUrl' | 'homepageUrl' | 'supportUrl' | 'extensions' | 'webhooks' | 'audience' | ManifestKeySpecifier)[]; export type ManifestFieldPolicy = { identifier?: FieldPolicy | FieldReadFunction, version?: FieldPolicy | FieldReadFunction, @@ -2109,9 +2103,7 @@ export type ManifestFieldPolicy = { supportUrl?: FieldPolicy | FieldReadFunction, extensions?: FieldPolicy | FieldReadFunction, webhooks?: FieldPolicy | FieldReadFunction, - audience?: FieldPolicy | FieldReadFunction, - requiredSaleorVersion?: FieldPolicy | FieldReadFunction, - author?: FieldPolicy | FieldReadFunction + audience?: FieldPolicy | FieldReadFunction }; export type MarginKeySpecifier = ('start' | 'stop' | MarginKeySpecifier)[]; export type MarginFieldPolicy = { @@ -2321,7 +2313,7 @@ export type MoneyRangeFieldPolicy = { start?: FieldPolicy | FieldReadFunction, stop?: FieldPolicy | FieldReadFunction }; -export type MutationKeySpecifier = ('webhookCreate' | 'webhookDelete' | 'webhookUpdate' | 'eventDeliveryRetry' | 'webhookDryRun' | 'webhookTrigger' | 'createWarehouse' | 'updateWarehouse' | 'deleteWarehouse' | 'assignWarehouseShippingZone' | 'unassignWarehouseShippingZone' | 'taxClassCreate' | 'taxClassDelete' | 'taxClassUpdate' | 'taxConfigurationUpdate' | 'taxCountryConfigurationUpdate' | 'taxCountryConfigurationDelete' | 'taxExemptionManage' | 'stockBulkUpdate' | 'staffNotificationRecipientCreate' | 'staffNotificationRecipientUpdate' | 'staffNotificationRecipientDelete' | 'shopDomainUpdate' | 'shopSettingsUpdate' | 'shopFetchTaxRates' | 'shopSettingsTranslate' | 'shopAddressUpdate' | 'orderSettingsUpdate' | 'giftCardSettingsUpdate' | 'shippingMethodChannelListingUpdate' | 'shippingPriceCreate' | 'shippingPriceDelete' | 'shippingPriceBulkDelete' | 'shippingPriceUpdate' | 'shippingPriceTranslate' | 'shippingPriceExcludeProducts' | 'shippingPriceRemoveProductFromExclude' | 'shippingZoneCreate' | 'shippingZoneDelete' | 'shippingZoneBulkDelete' | 'shippingZoneUpdate' | 'productAttributeAssign' | 'productAttributeAssignmentUpdate' | 'productAttributeUnassign' | 'categoryCreate' | 'categoryDelete' | 'categoryBulkDelete' | 'categoryUpdate' | 'categoryTranslate' | 'collectionAddProducts' | 'collectionCreate' | 'collectionDelete' | 'collectionReorderProducts' | 'collectionBulkDelete' | 'collectionRemoveProducts' | 'collectionUpdate' | 'collectionTranslate' | 'collectionChannelListingUpdate' | 'productCreate' | 'productDelete' | 'productBulkDelete' | 'productUpdate' | 'productTranslate' | 'productChannelListingUpdate' | 'productMediaCreate' | 'productVariantReorder' | 'productMediaDelete' | 'productMediaBulkDelete' | 'productMediaReorder' | 'productMediaUpdate' | 'productTypeCreate' | 'productTypeDelete' | 'productTypeBulkDelete' | 'productTypeUpdate' | 'productTypeReorderAttributes' | 'productReorderAttributeValues' | 'digitalContentCreate' | 'digitalContentDelete' | 'digitalContentUpdate' | 'digitalContentUrlCreate' | 'productVariantCreate' | 'productVariantDelete' | 'productVariantBulkCreate' | 'productVariantBulkUpdate' | 'productVariantBulkDelete' | 'productVariantStocksCreate' | 'productVariantStocksDelete' | 'productVariantStocksUpdate' | 'productVariantUpdate' | 'productVariantSetDefault' | 'productVariantTranslate' | 'productVariantChannelListingUpdate' | 'productVariantReorderAttributeValues' | 'productVariantPreorderDeactivate' | 'variantMediaAssign' | 'variantMediaUnassign' | 'paymentCapture' | 'paymentRefund' | 'paymentVoid' | 'paymentInitialize' | 'paymentCheckBalance' | 'transactionCreate' | 'transactionUpdate' | 'transactionRequestAction' | 'pageCreate' | 'pageDelete' | 'pageBulkDelete' | 'pageBulkPublish' | 'pageUpdate' | 'pageTranslate' | 'pageTypeCreate' | 'pageTypeUpdate' | 'pageTypeDelete' | 'pageTypeBulkDelete' | 'pageAttributeAssign' | 'pageAttributeUnassign' | 'pageTypeReorderAttributes' | 'pageReorderAttributeValues' | 'draftOrderComplete' | 'draftOrderCreate' | 'draftOrderDelete' | 'draftOrderBulkDelete' | 'draftOrderLinesBulkDelete' | 'draftOrderUpdate' | 'orderAddNote' | 'orderCancel' | 'orderCapture' | 'orderConfirm' | 'orderFulfill' | 'orderFulfillmentCancel' | 'orderFulfillmentApprove' | 'orderFulfillmentUpdateTracking' | 'orderFulfillmentRefundProducts' | 'orderFulfillmentReturnProducts' | 'orderLinesCreate' | 'orderLineDelete' | 'orderLineUpdate' | 'orderDiscountAdd' | 'orderDiscountUpdate' | 'orderDiscountDelete' | 'orderLineDiscountUpdate' | 'orderLineDiscountRemove' | 'orderMarkAsPaid' | 'orderRefund' | 'orderUpdate' | 'orderUpdateShipping' | 'orderVoid' | 'orderBulkCancel' | 'deleteMetadata' | 'deletePrivateMetadata' | 'updateMetadata' | 'updatePrivateMetadata' | 'assignNavigation' | 'menuCreate' | 'menuDelete' | 'menuBulkDelete' | 'menuUpdate' | 'menuItemCreate' | 'menuItemDelete' | 'menuItemBulkDelete' | 'menuItemUpdate' | 'menuItemTranslate' | 'menuItemMove' | 'invoiceRequest' | 'invoiceRequestDelete' | 'invoiceCreate' | 'invoiceDelete' | 'invoiceUpdate' | 'invoiceSendNotification' | 'giftCardActivate' | 'giftCardCreate' | 'giftCardDelete' | 'giftCardDeactivate' | 'giftCardUpdate' | 'giftCardResend' | 'giftCardAddNote' | 'giftCardBulkCreate' | 'giftCardBulkDelete' | 'giftCardBulkActivate' | 'giftCardBulkDeactivate' | 'pluginUpdate' | 'externalNotificationTrigger' | 'saleCreate' | 'saleDelete' | 'saleBulkDelete' | 'saleUpdate' | 'saleCataloguesAdd' | 'saleCataloguesRemove' | 'saleTranslate' | 'saleChannelListingUpdate' | 'voucherCreate' | 'voucherDelete' | 'voucherBulkDelete' | 'voucherUpdate' | 'voucherCataloguesAdd' | 'voucherCataloguesRemove' | 'voucherTranslate' | 'voucherChannelListingUpdate' | 'exportProducts' | 'exportGiftCards' | 'fileUpload' | 'checkoutAddPromoCode' | 'checkoutBillingAddressUpdate' | 'checkoutComplete' | 'checkoutCreate' | 'checkoutCustomerAttach' | 'checkoutCustomerDetach' | 'checkoutEmailUpdate' | 'checkoutLineDelete' | 'checkoutLinesDelete' | 'checkoutLinesAdd' | 'checkoutLinesUpdate' | 'checkoutRemovePromoCode' | 'checkoutPaymentCreate' | 'checkoutShippingAddressUpdate' | 'checkoutShippingMethodUpdate' | 'checkoutDeliveryMethodUpdate' | 'checkoutLanguageCodeUpdate' | 'orderCreateFromCheckout' | 'channelCreate' | 'channelUpdate' | 'channelDelete' | 'channelActivate' | 'channelDeactivate' | 'channelReorderWarehouses' | 'attributeCreate' | 'attributeDelete' | 'attributeUpdate' | 'attributeTranslate' | 'attributeBulkDelete' | 'attributeValueBulkDelete' | 'attributeValueCreate' | 'attributeValueDelete' | 'attributeValueUpdate' | 'attributeValueTranslate' | 'attributeReorderValues' | 'appCreate' | 'appUpdate' | 'appDelete' | 'appTokenCreate' | 'appTokenDelete' | 'appTokenVerify' | 'appInstall' | 'appRetryInstall' | 'appDeleteFailedInstallation' | 'appFetchManifest' | 'appActivate' | 'appDeactivate' | 'tokenCreate' | 'tokenRefresh' | 'tokenVerify' | 'tokensDeactivateAll' | 'externalAuthenticationUrl' | 'externalObtainAccessTokens' | 'externalRefresh' | 'externalLogout' | 'externalVerify' | 'requestPasswordReset' | 'confirmAccount' | 'setPassword' | 'passwordChange' | 'requestEmailChange' | 'confirmEmailChange' | 'accountAddressCreate' | 'accountAddressUpdate' | 'accountAddressDelete' | 'accountSetDefaultAddress' | 'accountRegister' | 'accountUpdate' | 'accountRequestDeletion' | 'accountDelete' | 'addressCreate' | 'addressUpdate' | 'addressDelete' | 'addressSetDefault' | 'customerCreate' | 'customerUpdate' | 'customerDelete' | 'customerBulkDelete' | 'staffCreate' | 'staffUpdate' | 'staffDelete' | 'staffBulkDelete' | 'userAvatarUpdate' | 'userAvatarDelete' | 'userBulkSetActive' | 'permissionGroupCreate' | 'permissionGroupUpdate' | 'permissionGroupDelete' | MutationKeySpecifier)[]; +export type MutationKeySpecifier = ('webhookCreate' | 'webhookDelete' | 'webhookUpdate' | 'eventDeliveryRetry' | 'webhookDryRun' | 'webhookTrigger' | 'createWarehouse' | 'updateWarehouse' | 'deleteWarehouse' | 'assignWarehouseShippingZone' | 'unassignWarehouseShippingZone' | 'taxClassCreate' | 'taxClassDelete' | 'taxClassUpdate' | 'taxConfigurationUpdate' | 'taxCountryConfigurationUpdate' | 'taxCountryConfigurationDelete' | 'taxExemptionManage' | 'staffNotificationRecipientCreate' | 'staffNotificationRecipientUpdate' | 'staffNotificationRecipientDelete' | 'shopDomainUpdate' | 'shopSettingsUpdate' | 'shopFetchTaxRates' | 'shopSettingsTranslate' | 'shopAddressUpdate' | 'orderSettingsUpdate' | 'giftCardSettingsUpdate' | 'shippingMethodChannelListingUpdate' | 'shippingPriceCreate' | 'shippingPriceDelete' | 'shippingPriceBulkDelete' | 'shippingPriceUpdate' | 'shippingPriceTranslate' | 'shippingPriceExcludeProducts' | 'shippingPriceRemoveProductFromExclude' | 'shippingZoneCreate' | 'shippingZoneDelete' | 'shippingZoneBulkDelete' | 'shippingZoneUpdate' | 'productAttributeAssign' | 'productAttributeAssignmentUpdate' | 'productAttributeUnassign' | 'categoryCreate' | 'categoryDelete' | 'categoryBulkDelete' | 'categoryUpdate' | 'categoryTranslate' | 'collectionAddProducts' | 'collectionCreate' | 'collectionDelete' | 'collectionReorderProducts' | 'collectionBulkDelete' | 'collectionRemoveProducts' | 'collectionUpdate' | 'collectionTranslate' | 'collectionChannelListingUpdate' | 'productCreate' | 'productDelete' | 'productBulkDelete' | 'productUpdate' | 'productTranslate' | 'productChannelListingUpdate' | 'productMediaCreate' | 'productVariantReorder' | 'productMediaDelete' | 'productMediaBulkDelete' | 'productMediaReorder' | 'productMediaUpdate' | 'productTypeCreate' | 'productTypeDelete' | 'productTypeBulkDelete' | 'productTypeUpdate' | 'productTypeReorderAttributes' | 'productReorderAttributeValues' | 'digitalContentCreate' | 'digitalContentDelete' | 'digitalContentUpdate' | 'digitalContentUrlCreate' | 'productVariantCreate' | 'productVariantDelete' | 'productVariantBulkCreate' | 'productVariantBulkUpdate' | 'productVariantBulkDelete' | 'productVariantStocksCreate' | 'productVariantStocksDelete' | 'productVariantStocksUpdate' | 'productVariantUpdate' | 'productVariantSetDefault' | 'productVariantTranslate' | 'productVariantChannelListingUpdate' | 'productVariantReorderAttributeValues' | 'productVariantPreorderDeactivate' | 'variantMediaAssign' | 'variantMediaUnassign' | 'paymentCapture' | 'paymentRefund' | 'paymentVoid' | 'paymentInitialize' | 'paymentCheckBalance' | 'transactionCreate' | 'transactionUpdate' | 'transactionRequestAction' | 'pageCreate' | 'pageDelete' | 'pageBulkDelete' | 'pageBulkPublish' | 'pageUpdate' | 'pageTranslate' | 'pageTypeCreate' | 'pageTypeUpdate' | 'pageTypeDelete' | 'pageTypeBulkDelete' | 'pageAttributeAssign' | 'pageAttributeUnassign' | 'pageTypeReorderAttributes' | 'pageReorderAttributeValues' | 'draftOrderComplete' | 'draftOrderCreate' | 'draftOrderDelete' | 'draftOrderBulkDelete' | 'draftOrderLinesBulkDelete' | 'draftOrderUpdate' | 'orderAddNote' | 'orderCancel' | 'orderCapture' | 'orderConfirm' | 'orderFulfill' | 'orderFulfillmentCancel' | 'orderFulfillmentApprove' | 'orderFulfillmentUpdateTracking' | 'orderFulfillmentRefundProducts' | 'orderFulfillmentReturnProducts' | 'orderLinesCreate' | 'orderLineDelete' | 'orderLineUpdate' | 'orderDiscountAdd' | 'orderDiscountUpdate' | 'orderDiscountDelete' | 'orderLineDiscountUpdate' | 'orderLineDiscountRemove' | 'orderMarkAsPaid' | 'orderRefund' | 'orderUpdate' | 'orderUpdateShipping' | 'orderVoid' | 'orderBulkCancel' | 'deleteMetadata' | 'deletePrivateMetadata' | 'updateMetadata' | 'updatePrivateMetadata' | 'assignNavigation' | 'menuCreate' | 'menuDelete' | 'menuBulkDelete' | 'menuUpdate' | 'menuItemCreate' | 'menuItemDelete' | 'menuItemBulkDelete' | 'menuItemUpdate' | 'menuItemTranslate' | 'menuItemMove' | 'invoiceRequest' | 'invoiceRequestDelete' | 'invoiceCreate' | 'invoiceDelete' | 'invoiceUpdate' | 'invoiceSendNotification' | 'giftCardActivate' | 'giftCardCreate' | 'giftCardDelete' | 'giftCardDeactivate' | 'giftCardUpdate' | 'giftCardResend' | 'giftCardAddNote' | 'giftCardBulkCreate' | 'giftCardBulkDelete' | 'giftCardBulkActivate' | 'giftCardBulkDeactivate' | 'pluginUpdate' | 'externalNotificationTrigger' | 'saleCreate' | 'saleDelete' | 'saleBulkDelete' | 'saleUpdate' | 'saleCataloguesAdd' | 'saleCataloguesRemove' | 'saleTranslate' | 'saleChannelListingUpdate' | 'voucherCreate' | 'voucherDelete' | 'voucherBulkDelete' | 'voucherUpdate' | 'voucherCataloguesAdd' | 'voucherCataloguesRemove' | 'voucherTranslate' | 'voucherChannelListingUpdate' | 'exportProducts' | 'exportGiftCards' | 'fileUpload' | 'checkoutAddPromoCode' | 'checkoutBillingAddressUpdate' | 'checkoutComplete' | 'checkoutCreate' | 'checkoutCustomerAttach' | 'checkoutCustomerDetach' | 'checkoutEmailUpdate' | 'checkoutLineDelete' | 'checkoutLinesDelete' | 'checkoutLinesAdd' | 'checkoutLinesUpdate' | 'checkoutRemovePromoCode' | 'checkoutPaymentCreate' | 'checkoutShippingAddressUpdate' | 'checkoutShippingMethodUpdate' | 'checkoutDeliveryMethodUpdate' | 'checkoutLanguageCodeUpdate' | 'orderCreateFromCheckout' | 'channelCreate' | 'channelUpdate' | 'channelDelete' | 'channelActivate' | 'channelDeactivate' | 'channelReorderWarehouses' | 'attributeCreate' | 'attributeDelete' | 'attributeUpdate' | 'attributeTranslate' | 'attributeBulkDelete' | 'attributeValueBulkDelete' | 'attributeValueCreate' | 'attributeValueDelete' | 'attributeValueUpdate' | 'attributeValueTranslate' | 'attributeReorderValues' | 'appCreate' | 'appUpdate' | 'appDelete' | 'appTokenCreate' | 'appTokenDelete' | 'appTokenVerify' | 'appInstall' | 'appRetryInstall' | 'appDeleteFailedInstallation' | 'appFetchManifest' | 'appActivate' | 'appDeactivate' | 'tokenCreate' | 'tokenRefresh' | 'tokenVerify' | 'tokensDeactivateAll' | 'externalAuthenticationUrl' | 'externalObtainAccessTokens' | 'externalRefresh' | 'externalLogout' | 'externalVerify' | 'requestPasswordReset' | 'confirmAccount' | 'setPassword' | 'passwordChange' | 'requestEmailChange' | 'confirmEmailChange' | 'accountAddressCreate' | 'accountAddressUpdate' | 'accountAddressDelete' | 'accountSetDefaultAddress' | 'accountRegister' | 'accountUpdate' | 'accountRequestDeletion' | 'accountDelete' | 'addressCreate' | 'addressUpdate' | 'addressDelete' | 'addressSetDefault' | 'customerCreate' | 'customerUpdate' | 'customerDelete' | 'customerBulkDelete' | 'staffCreate' | 'staffUpdate' | 'staffDelete' | 'staffBulkDelete' | 'userAvatarUpdate' | 'userAvatarDelete' | 'userBulkSetActive' | 'permissionGroupCreate' | 'permissionGroupUpdate' | 'permissionGroupDelete' | MutationKeySpecifier)[]; export type MutationFieldPolicy = { webhookCreate?: FieldPolicy | FieldReadFunction, webhookDelete?: FieldPolicy | FieldReadFunction, @@ -2341,7 +2333,6 @@ export type MutationFieldPolicy = { taxCountryConfigurationUpdate?: FieldPolicy | FieldReadFunction, taxCountryConfigurationDelete?: FieldPolicy | FieldReadFunction, taxExemptionManage?: FieldPolicy | FieldReadFunction, - stockBulkUpdate?: FieldPolicy | FieldReadFunction, staffNotificationRecipientCreate?: FieldPolicy | FieldReadFunction, staffNotificationRecipientUpdate?: FieldPolicy | FieldReadFunction, staffNotificationRecipientDelete?: FieldPolicy | FieldReadFunction, @@ -4821,23 +4812,6 @@ export type StockFieldPolicy = { quantityAllocated?: FieldPolicy | FieldReadFunction, quantityReserved?: FieldPolicy | FieldReadFunction }; -export type StockBulkResultKeySpecifier = ('stock' | 'errors' | StockBulkResultKeySpecifier)[]; -export type StockBulkResultFieldPolicy = { - stock?: FieldPolicy | FieldReadFunction, - errors?: FieldPolicy | FieldReadFunction -}; -export type StockBulkUpdateKeySpecifier = ('count' | 'results' | 'errors' | StockBulkUpdateKeySpecifier)[]; -export type StockBulkUpdateFieldPolicy = { - count?: FieldPolicy | FieldReadFunction, - results?: FieldPolicy | FieldReadFunction, - errors?: FieldPolicy | FieldReadFunction -}; -export type StockBulkUpdateErrorKeySpecifier = ('field' | 'message' | 'code' | StockBulkUpdateErrorKeySpecifier)[]; -export type StockBulkUpdateErrorFieldPolicy = { - field?: FieldPolicy | FieldReadFunction, - message?: FieldPolicy | FieldReadFunction, - code?: FieldPolicy | FieldReadFunction -}; export type StockCountableConnectionKeySpecifier = ('pageInfo' | 'edges' | 'totalCount' | StockCountableConnectionKeySpecifier)[]; export type StockCountableConnectionFieldPolicy = { pageInfo?: FieldPolicy | FieldReadFunction, @@ -5805,10 +5779,6 @@ export type StrictTypedTypePolicies = { keyFields?: false | AppManifestExtensionKeySpecifier | (() => undefined | AppManifestExtensionKeySpecifier), fields?: AppManifestExtensionFieldPolicy, }, - AppManifestRequiredSaleorVersion?: Omit & { - keyFields?: false | AppManifestRequiredSaleorVersionKeySpecifier | (() => undefined | AppManifestRequiredSaleorVersionKeySpecifier), - fields?: AppManifestRequiredSaleorVersionFieldPolicy, - }, AppManifestWebhook?: Omit & { keyFields?: false | AppManifestWebhookKeySpecifier | (() => undefined | AppManifestWebhookKeySpecifier), fields?: AppManifestWebhookFieldPolicy, @@ -7921,18 +7891,6 @@ export type StrictTypedTypePolicies = { keyFields?: false | StockKeySpecifier | (() => undefined | StockKeySpecifier), fields?: StockFieldPolicy, }, - StockBulkResult?: Omit & { - keyFields?: false | StockBulkResultKeySpecifier | (() => undefined | StockBulkResultKeySpecifier), - fields?: StockBulkResultFieldPolicy, - }, - StockBulkUpdate?: Omit & { - keyFields?: false | StockBulkUpdateKeySpecifier | (() => undefined | StockBulkUpdateKeySpecifier), - fields?: StockBulkUpdateFieldPolicy, - }, - StockBulkUpdateError?: Omit & { - keyFields?: false | StockBulkUpdateErrorKeySpecifier | (() => undefined | StockBulkUpdateErrorKeySpecifier), - fields?: StockBulkUpdateErrorFieldPolicy, - }, StockCountableConnection?: Omit & { keyFields?: false | StockCountableConnectionKeySpecifier | (() => undefined | StockCountableConnectionKeySpecifier), fields?: StockCountableConnectionFieldPolicy, diff --git a/src/graphql/types.generated.ts b/src/graphql/types.generated.ts index 043b7ca85..8edb0c42c 100644 --- a/src/graphql/types.generated.ts +++ b/src/graphql/types.generated.ts @@ -81,7 +81,6 @@ export enum AccountErrorCode { PASSWORD_TOO_COMMON = 'PASSWORD_TOO_COMMON', PASSWORD_TOO_SHORT = 'PASSWORD_TOO_SHORT', PASSWORD_TOO_SIMILAR = 'PASSWORD_TOO_SIMILAR', - PASSWORD_RESET_ALREADY_REQUESTED = 'PASSWORD_RESET_ALREADY_REQUESTED', REQUIRED = 'REQUIRED', UNIQUE = 'UNIQUE', JWT_SIGNATURE_EXPIRED = 'JWT_SIGNATURE_EXPIRED', @@ -186,8 +185,7 @@ export enum AppErrorCode { REQUIRED = 'REQUIRED', UNIQUE = 'UNIQUE', OUT_OF_SCOPE_APP = 'OUT_OF_SCOPE_APP', - OUT_OF_SCOPE_PERMISSION = 'OUT_OF_SCOPE_PERMISSION', - UNSUPPORTED_SALEOR_VERSION = 'UNSUPPORTED_SALEOR_VERSION' + OUT_OF_SCOPE_PERMISSION = 'OUT_OF_SCOPE_PERMISSION' } export type AppExtensionFilterInput = { @@ -690,76 +688,10 @@ export type AttributeWhereInput = { export type BulkAttributeValueInput = { /** ID of the selected attribute. */ id?: InputMaybe; - /** 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?: InputMaybe>; - /** - * Attribute value ID. - * - * Added in Saleor 3.12. - */ - dropdown?: InputMaybe; - /** - * Attribute value ID. - * - * Added in Saleor 3.12. - */ - swatch?: InputMaybe; - /** - * List of attribute value IDs. - * - * Added in Saleor 3.12. - */ - multiselect?: InputMaybe>; - /** - * Numeric value of an attribute. - * - * Added in Saleor 3.12. - */ - numeric?: InputMaybe; - /** - * URL of the file attribute. Every time, a new value is created. - * - * Added in Saleor 3.12. - */ - file?: InputMaybe; - /** - * File content type. - * - * Added in Saleor 3.12. - */ - contentType?: InputMaybe; - /** - * List of entity IDs that will be used as references. - * - * Added in Saleor 3.12. - */ - references?: InputMaybe>; - /** - * Text content in JSON format. - * - * Added in Saleor 3.12. - */ - richText?: InputMaybe; - /** - * Plain text content. - * - * Added in Saleor 3.12. - */ - plainText?: InputMaybe; /** The boolean value of an attribute to resolve. If the passed value is non-existent, it will be created. */ boolean?: InputMaybe; - /** - * Represents the date value of the attribute value. - * - * Added in Saleor 3.12. - */ - date?: InputMaybe; - /** - * Represents the date/time value of the attribute value. - * - * Added in Saleor 3.12. - */ - dateTime?: InputMaybe; }; export type CardInput = { @@ -4147,7 +4079,7 @@ export type ProductCreateInput = { /** * 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. + * DEPRECATED: this field will be removed in Saleor 4.0. Use tax classes to control the tax calculation for a product. */ taxCode?: InputMaybe; /** Search engine optimization fields. */ @@ -4299,7 +4231,7 @@ export type ProductInput = { /** * 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. + * DEPRECATED: this field will be removed in Saleor 4.0. Use tax classes to control the tax calculation for a product. */ taxCode?: InputMaybe; /** Search engine optimization fields. */ @@ -4474,7 +4406,7 @@ export type ProductTypeInput = { /** * 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. + * DEPRECATED: this field will be removed in Saleor 4.0.. Use tax classes to control the tax calculation for a product type. */ taxCode?: InputMaybe; /** 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. */ @@ -5194,27 +5126,6 @@ export enum StockAvailability { OUT_OF_STOCK = 'OUT_OF_STOCK' } -/** An enumeration. */ -export enum StockBulkUpdateErrorCode { - GRAPHQL_ERROR = 'GRAPHQL_ERROR', - INVALID = 'INVALID', - NOT_FOUND = 'NOT_FOUND', - REQUIRED = 'REQUIRED' -} - -export type StockBulkUpdateInput = { - /** Variant ID. */ - variantId?: InputMaybe; - /** Variant external reference. */ - variantExternalReference?: InputMaybe; - /** Warehouse ID. */ - warehouseId?: InputMaybe; - /** Warehouse external reference. */ - warehouseExternalReference?: InputMaybe; - /** Quantity of items available for sell. */ - quantity: Scalars['Int']; -}; - /** An enumeration. */ export enum StockErrorCode { ALREADY_EXISTS = 'ALREADY_EXISTS', @@ -5406,8 +5317,6 @@ export enum TaxExemptionManageErrorCode { /** An enumeration. */ export enum ThumbnailFormatEnum { - ORIGINAL = 'ORIGINAL', - AVIF = 'AVIF', WEBP = 'WEBP' } @@ -6932,7 +6841,7 @@ export type AppQueryVariables = Exact<{ }>; -export type AppQuery = { __typename: 'Query', app: { __typename: 'App', aboutApp: string | null, author: string | null, dataPrivacy: string | null, dataPrivacyUrl: string | null, id: string, name: string | null, created: any | null, isActive: boolean | null, type: AppTypeEnum | null, homepageUrl: string | null, appUrl: string | null, manifestUrl: string | null, configurationUrl: string | null, supportUrl: string | null, version: string | null, accessToken: string | null, permissions: Array<{ __typename: 'Permission', code: PermissionEnum, name: string }> | null, privateMetadata: Array<{ __typename: 'MetadataItem', key: string, value: string }>, metadata: Array<{ __typename: 'MetadataItem', key: string, value: string }>, tokens: Array<{ __typename: 'AppToken', authToken: string | null, id: string, name: string | null }> | null, webhooks: Array<{ __typename: 'Webhook', id: string, name: string, isActive: boolean, app: { __typename: 'App', id: string, name: string | null } }> | null } | null }; +export type AppQuery = { __typename: 'Query', app: { __typename: 'App', aboutApp: string | null, dataPrivacy: string | null, dataPrivacyUrl: string | null, id: string, name: string | null, created: any | null, isActive: boolean | null, type: AppTypeEnum | null, homepageUrl: string | null, appUrl: string | null, manifestUrl: string | null, configurationUrl: string | null, supportUrl: string | null, version: string | null, accessToken: string | null, permissions: Array<{ __typename: 'Permission', code: PermissionEnum, name: string }> | null, privateMetadata: Array<{ __typename: 'MetadataItem', key: string, value: string }>, metadata: Array<{ __typename: 'MetadataItem', key: string, value: string }>, tokens: Array<{ __typename: 'AppToken', authToken: string | null, id: string, name: string | null }> | null, webhooks: Array<{ __typename: 'Webhook', id: string, name: string, isActive: boolean, app: { __typename: 'App', id: string, name: string | null } }> | null } | null }; export type ExtensionListQueryVariables = Exact<{ filter: AppExtensionFilterInput;