From d7880350ae1f7c5a90f3d379087533312817f4ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Dro=C5=84?= Date: Wed, 8 Jun 2022 14:45:29 +0200 Subject: [PATCH] Add new webhook events related to apps & warehouses (#2088) * Update schema * Build types --- introspection.json | 6269 ++++++++++++++++++++++-- schema.graphql | 2141 +++++++- src/graphql/fragmentTypes.generated.ts | 109 +- src/graphql/typePolicies.generated.ts | 584 ++- src/graphql/types.generated.ts | 464 +- 5 files changed, 8644 insertions(+), 923 deletions(-) diff --git a/introspection.json b/introspection.json index 636423896..0085a151a 100644 --- a/introspection.json +++ b/introspection.json @@ -1422,6 +1422,83 @@ "enumValues": null, "possibleTypes": null }, + { + "kind": "OBJECT", + "name": "AddressCreated", + "description": null, + "fields": [ + { + "name": "issuedAt", + "description": "Time of the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "version", + "description": "Saleor version that triggered the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issuingPrincipal", + "description": "The user or application that triggered the event.", + "args": [], + "type": { + "kind": "UNION", + "name": "IssuingPrincipal", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "recipient", + "description": "The application receiving the webhook.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "App", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "address", + "description": "The address the event relates to.\n\nAdded in Saleor 3.5.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "Address", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Event", + "ofType": null + } + ], + "enumValues": null, + "possibleTypes": null + }, { "kind": "OBJECT", "name": "AddressDelete", @@ -1505,6 +1582,83 @@ "enumValues": null, "possibleTypes": null }, + { + "kind": "OBJECT", + "name": "AddressDeleted", + "description": null, + "fields": [ + { + "name": "issuedAt", + "description": "Time of the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "version", + "description": "Saleor version that triggered the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issuingPrincipal", + "description": "The user or application that triggered the event.", + "args": [], + "type": { + "kind": "UNION", + "name": "IssuingPrincipal", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "recipient", + "description": "The application receiving the webhook.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "App", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "address", + "description": "The address the event relates to.\n\nAdded in Saleor 3.5.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "Address", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Event", + "ofType": null + } + ], + "enumValues": null, + "possibleTypes": null + }, { "kind": "INPUT_OBJECT", "name": "AddressInput", @@ -1825,6 +1979,83 @@ "enumValues": null, "possibleTypes": null }, + { + "kind": "OBJECT", + "name": "AddressUpdated", + "description": null, + "fields": [ + { + "name": "issuedAt", + "description": "Time of the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "version", + "description": "Saleor version that triggered the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issuingPrincipal", + "description": "The user or application that triggered the event.", + "args": [], + "type": { + "kind": "UNION", + "name": "IssuingPrincipal", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "recipient", + "description": "The application receiving the webhook.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "App", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "address", + "description": "The address the event relates to.\n\nAdded in Saleor 3.5.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "Address", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Event", + "ofType": null + } + ], + "enumValues": null, + "possibleTypes": null + }, { "kind": "OBJECT", "name": "AddressValidationData", @@ -2510,7 +2741,7 @@ }, { "name": "tokens", - "description": "Last 4 characters of the tokens.", + "description": "Last 4 characters of the tokens.\n\nRequires one of the following permissions: MANAGE_APPS, OWNER.", "args": [], "type": { "kind": "LIST", @@ -2530,7 +2761,7 @@ }, { "name": "webhooks", - "description": "List of webhooks assigned to this app.", + "description": "List of webhooks assigned to this app.\n\nRequires one of the following permissions: MANAGE_APPS, OWNER.", "args": [], "type": { "kind": "LIST", @@ -3170,6 +3401,83 @@ "enumValues": null, "possibleTypes": null }, + { + "kind": "OBJECT", + "name": "AppDeleted", + "description": null, + "fields": [ + { + "name": "issuedAt", + "description": "Time of the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "version", + "description": "Saleor version that triggered the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issuingPrincipal", + "description": "The user or application that triggered the event.", + "args": [], + "type": { + "kind": "UNION", + "name": "IssuingPrincipal", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "recipient", + "description": "The application receiving the webhook.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "App", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "app", + "description": "The application the event relates to.\n\nAdded in Saleor 3.4.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "App", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Event", + "ofType": null + } + ], + "enumValues": null, + "possibleTypes": null + }, { "kind": "OBJECT", "name": "AppError", @@ -4163,6 +4471,83 @@ "enumValues": null, "possibleTypes": null }, + { + "kind": "OBJECT", + "name": "AppInstalled", + "description": null, + "fields": [ + { + "name": "issuedAt", + "description": "Time of the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "version", + "description": "Saleor version that triggered the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issuingPrincipal", + "description": "The user or application that triggered the event.", + "args": [], + "type": { + "kind": "UNION", + "name": "IssuingPrincipal", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "recipient", + "description": "The application receiving the webhook.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "App", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "app", + "description": "The application the event relates to.\n\nAdded in Saleor 3.4.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "App", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Event", + "ofType": null + } + ], + "enumValues": null, + "possibleTypes": null + }, { "kind": "OBJECT", "name": "AppManifestExtension", @@ -4399,6 +4784,83 @@ "enumValues": null, "possibleTypes": null }, + { + "kind": "OBJECT", + "name": "AppStatusChanged", + "description": null, + "fields": [ + { + "name": "issuedAt", + "description": "Time of the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "version", + "description": "Saleor version that triggered the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issuingPrincipal", + "description": "The user or application that triggered the event.", + "args": [], + "type": { + "kind": "UNION", + "name": "IssuingPrincipal", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "recipient", + "description": "The application receiving the webhook.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "App", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "app", + "description": "The application the event relates to.\n\nAdded in Saleor 3.4.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "App", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Event", + "ofType": null + } + ], + "enumValues": null, + "possibleTypes": null + }, { "kind": "OBJECT", "name": "AppToken", @@ -4818,6 +5280,83 @@ "enumValues": null, "possibleTypes": null }, + { + "kind": "OBJECT", + "name": "AppUpdated", + "description": null, + "fields": [ + { + "name": "issuedAt", + "description": "Time of the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "version", + "description": "Saleor version that triggered the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issuingPrincipal", + "description": "The user or application that triggered the event.", + "args": [], + "type": { + "kind": "UNION", + "name": "IssuingPrincipal", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "recipient", + "description": "The application receiving the webhook.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "App", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "app", + "description": "The application the event relates to.\n\nAdded in Saleor 3.4.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "App", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Event", + "ofType": null + } + ], + "enumValues": null, + "possibleTypes": null + }, { "kind": "ENUM", "name": "AreaUnitsEnum", @@ -6644,6 +7183,12 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "PLAIN_TEXT", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "SWATCH", "description": null, @@ -7465,7 +8010,7 @@ }, { "name": "richText", - "description": "Represents the text (JSON) of the attribute value.", + "description": "Represents the text of the attribute value, includes formatting.\n\nRich text format. For reference see https://editorjs.io/", "args": [], "type": { "kind": "SCALAR", @@ -7475,6 +8020,18 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "plainText", + "description": "Represents the text of the attribute value, plain text without formating.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "boolean", "description": "Represents the boolean value of the attribute value.", @@ -7807,7 +8364,7 @@ }, { "name": "richText", - "description": "Represents the text (JSON) of the attribute value.", + "description": "Represents the text of the attribute value, includes formatting.\n\nRich text format. For reference see https://editorjs.io/", "type": { "kind": "SCALAR", "name": "JSONString", @@ -7817,6 +8374,18 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "plainText", + "description": "Represents the text of the attribute value, plain text without formating.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "fileUrl", "description": "URL of the file attribute. Every time, a new value is created.", @@ -8082,6 +8651,18 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "plainText", + "description": "Plain text content.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "boolean", "description": "Represents the boolean value of the attribute value.", @@ -8162,7 +8743,7 @@ }, { "name": "richText", - "description": null, + "description": "Attribute value.\n\nRich text format. For reference see https://editorjs.io/", "args": [], "type": { "kind": "SCALAR", @@ -8172,6 +8753,18 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "plainText", + "description": "Attribute plain text value.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "translation", "description": "Returns translated attribute value fields for the given language code.", @@ -8351,7 +8944,7 @@ }, { "name": "richText", - "description": null, + "description": "Attribute value.\n\nRich text format. For reference see https://editorjs.io/", "args": [], "type": { "kind": "SCALAR", @@ -8360,6 +8953,18 @@ }, "isDeprecated": false, "deprecationReason": null + }, + { + "name": "plainText", + "description": "Attribute plain text value.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null } ], "inputFields": null, @@ -8393,7 +8998,7 @@ }, { "name": "richText", - "description": null, + "description": "Translated text.\n\nRich text format. For reference see https://editorjs.io/", "type": { "kind": "SCALAR", "name": "JSONString", @@ -8402,6 +9007,18 @@ "defaultValue": null, "isDeprecated": false, "deprecationReason": null + }, + { + "name": "plainText", + "description": "Translated text.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null } ], "interfaces": null, @@ -8511,7 +9128,7 @@ }, { "name": "richText", - "description": "Represents the text (JSON) of the attribute value.", + "description": "Represents the text of the attribute value, includes formatting.\n\nRich text format. For reference see https://editorjs.io/", "type": { "kind": "SCALAR", "name": "JSONString", @@ -8521,6 +9138,18 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "plainText", + "description": "Represents the text of the attribute value, plain text without formating.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "fileUrl", "description": "URL of the file attribute. Every time, a new value is created.", @@ -9244,7 +9873,7 @@ }, { "name": "description", - "description": null, + "description": "Description of the category.\n\nRich text format. For reference see https://editorjs.io/", "args": [], "type": { "kind": "SCALAR", @@ -9300,7 +9929,7 @@ }, { "name": "descriptionJson", - "description": "Description of the category (JSON).", + "description": "Description of the category.\n\nRich text format. For reference see https://editorjs.io/", "args": [], "type": { "kind": "SCALAR", @@ -9833,9 +10462,57 @@ "name": "CategoryCreated", "description": null, "fields": [ + { + "name": "issuedAt", + "description": "Time of the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "version", + "description": "Saleor version that triggered the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issuingPrincipal", + "description": "The user or application that triggered the event.", + "args": [], + "type": { + "kind": "UNION", + "name": "IssuingPrincipal", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "recipient", + "description": "The application receiving the webhook.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "App", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "category", - "description": "Look up a category.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", + "description": "The category the event relates to.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", "args": [], "type": { "kind": "OBJECT", @@ -9847,7 +10524,13 @@ } ], "inputFields": null, - "interfaces": [], + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Event", + "ofType": null + } + ], "enumValues": null, "possibleTypes": null }, @@ -9927,9 +10610,57 @@ "name": "CategoryDeleted", "description": null, "fields": [ + { + "name": "issuedAt", + "description": "Time of the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "version", + "description": "Saleor version that triggered the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issuingPrincipal", + "description": "The user or application that triggered the event.", + "args": [], + "type": { + "kind": "UNION", + "name": "IssuingPrincipal", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "recipient", + "description": "The application receiving the webhook.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "App", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "category", - "description": "Look up a category.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", + "description": "The category the event relates to.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", "args": [], "type": { "kind": "OBJECT", @@ -9941,7 +10672,13 @@ } ], "inputFields": null, - "interfaces": [], + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Event", + "ofType": null + } + ], "enumValues": null, "possibleTypes": null }, @@ -10016,7 +10753,7 @@ "inputFields": [ { "name": "description", - "description": "Category description (JSON).", + "description": "Category description.\n\nRich text format. For reference see https://editorjs.io/", "type": { "kind": "SCALAR", "name": "JSONString", @@ -10238,7 +10975,7 @@ }, { "name": "description", - "description": null, + "description": "Description of the category.\n\nRich text format. For reference see https://editorjs.io/", "args": [], "type": { "kind": "SCALAR", @@ -10250,7 +10987,7 @@ }, { "name": "descriptionJson", - "description": "Description of the category (JSON).", + "description": "Description of the category.\n\nRich text format. For reference see https://editorjs.io/", "args": [], "type": { "kind": "SCALAR", @@ -10459,7 +11196,7 @@ }, { "name": "description", - "description": null, + "description": "Translated description of the category.\n\nRich text format. For reference see https://editorjs.io/", "args": [], "type": { "kind": "SCALAR", @@ -10471,7 +11208,7 @@ }, { "name": "descriptionJson", - "description": "Translated description of the product (JSON).", + "description": "Translated description of the category.\n\nRich text format. For reference see https://editorjs.io/", "args": [], "type": { "kind": "SCALAR", @@ -10569,9 +11306,57 @@ "name": "CategoryUpdated", "description": null, "fields": [ + { + "name": "issuedAt", + "description": "Time of the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "version", + "description": "Saleor version that triggered the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issuingPrincipal", + "description": "The user or application that triggered the event.", + "args": [], + "type": { + "kind": "UNION", + "name": "IssuingPrincipal", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "recipient", + "description": "The application receiving the webhook.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "App", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "category", - "description": "Look up a category.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", + "description": "The category the event relates to.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", "args": [], "type": { "kind": "OBJECT", @@ -10583,7 +11368,13 @@ } ], "inputFields": null, - "interfaces": [], + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Event", + "ofType": null + } + ], "enumValues": null, "possibleTypes": null }, @@ -10970,9 +11761,57 @@ "name": "ChannelCreated", "description": null, "fields": [ + { + "name": "issuedAt", + "description": "Time of the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "version", + "description": "Saleor version that triggered the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issuingPrincipal", + "description": "The user or application that triggered the event.", + "args": [], + "type": { + "kind": "UNION", + "name": "IssuingPrincipal", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "recipient", + "description": "The application receiving the webhook.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "App", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "channel", - "description": "Look up a channel.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", + "description": "The channel the event relates to.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", "args": [], "type": { "kind": "OBJECT", @@ -10984,7 +11823,13 @@ } ], "inputFields": null, - "interfaces": [], + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Event", + "ofType": null + } + ], "enumValues": null, "possibleTypes": null }, @@ -11162,9 +12007,57 @@ "name": "ChannelDeleted", "description": null, "fields": [ + { + "name": "issuedAt", + "description": "Time of the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "version", + "description": "Saleor version that triggered the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issuingPrincipal", + "description": "The user or application that triggered the event.", + "args": [], + "type": { + "kind": "UNION", + "name": "IssuingPrincipal", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "recipient", + "description": "The application receiving the webhook.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "App", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "channel", - "description": "Look up a channel.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", + "description": "The channel the event relates to.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", "args": [], "type": { "kind": "OBJECT", @@ -11176,7 +12069,13 @@ } ], "inputFields": null, - "interfaces": [], + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Event", + "ofType": null + } + ], "enumValues": null, "possibleTypes": null }, @@ -11321,9 +12220,57 @@ "name": "ChannelStatusChanged", "description": null, "fields": [ + { + "name": "issuedAt", + "description": "Time of the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "version", + "description": "Saleor version that triggered the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issuingPrincipal", + "description": "The user or application that triggered the event.", + "args": [], + "type": { + "kind": "UNION", + "name": "IssuingPrincipal", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "recipient", + "description": "The application receiving the webhook.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "App", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "channel", - "description": "Look up a channel.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", + "description": "The channel the event relates to.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", "args": [], "type": { "kind": "OBJECT", @@ -11335,7 +12282,13 @@ } ], "inputFields": null, - "interfaces": [], + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Event", + "ofType": null + } + ], "enumValues": null, "possibleTypes": null }, @@ -11514,9 +12467,57 @@ "name": "ChannelUpdated", "description": null, "fields": [ + { + "name": "issuedAt", + "description": "Time of the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "version", + "description": "Saleor version that triggered the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issuingPrincipal", + "description": "The user or application that triggered the event.", + "args": [], + "type": { + "kind": "UNION", + "name": "IssuingPrincipal", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "recipient", + "description": "The application receiving the webhook.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "App", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "channel", - "description": "Look up a channel.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", + "description": "The channel the event relates to.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", "args": [], "type": { "kind": "OBJECT", @@ -11528,7 +12529,13 @@ } ], "inputFields": null, - "interfaces": [], + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Event", + "ofType": null + } + ], "enumValues": null, "possibleTypes": null }, @@ -12744,9 +13751,57 @@ "name": "CheckoutCreated", "description": null, "fields": [ + { + "name": "issuedAt", + "description": "Time of the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "version", + "description": "Saleor version that triggered the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issuingPrincipal", + "description": "The user or application that triggered the event.", + "args": [], + "type": { + "kind": "UNION", + "name": "IssuingPrincipal", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "recipient", + "description": "The application receiving the webhook.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "App", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "checkout", - "description": "Look up a Checkout.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", + "description": "The checkout the event relates to.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", "args": [], "type": { "kind": "OBJECT", @@ -12758,7 +13813,13 @@ } ], "inputFields": null, - "interfaces": [], + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Event", + "ofType": null + } + ], "enumValues": null, "possibleTypes": null }, @@ -13509,6 +14570,38 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "unitPrice", + "description": "The unit price of the checkout line, with taxes and discounts.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "TaxedMoney", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "undiscountedUnitPrice", + "description": "The unit price of the checkout line, without discounts.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Money", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "totalPrice", "description": "The sum of the checkout line price, taxes and discounts.", @@ -13525,6 +14618,22 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "undiscountedTotalPrice", + "description": "The sum of the checkout line price, without discounts.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Money", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "requiresShipping", "description": "Indicates whether the item need to be delivered.", @@ -14398,9 +15507,57 @@ "name": "CheckoutUpdated", "description": null, "fields": [ + { + "name": "issuedAt", + "description": "Time of the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "version", + "description": "Saleor version that triggered the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issuingPrincipal", + "description": "The user or application that triggered the event.", + "args": [], + "type": { + "kind": "UNION", + "name": "IssuingPrincipal", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "recipient", + "description": "The application receiving the webhook.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "App", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "checkout", - "description": "Look up a Checkout.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", + "description": "The checkout the event relates to.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", "args": [], "type": { "kind": "OBJECT", @@ -14412,7 +15569,13 @@ } ], "inputFields": null, - "interfaces": [], + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Event", + "ofType": null + } + ], "enumValues": null, "possibleTypes": null }, @@ -14686,7 +15849,7 @@ }, { "name": "description", - "description": null, + "description": "Description of the collection.\n\nRich text format. For reference see https://editorjs.io/", "args": [], "type": { "kind": "SCALAR", @@ -14726,7 +15889,7 @@ }, { "name": "descriptionJson", - "description": "Description of the collection (JSON).", + "description": "Description of the collection.\n\nRich text format. For reference see https://editorjs.io/", "args": [], "type": { "kind": "SCALAR", @@ -15601,7 +16764,7 @@ }, { "name": "description", - "description": "Description of the collection (JSON).", + "description": "Description of the collection.\n\nRich text format. For reference see https://editorjs.io/", "type": { "kind": "SCALAR", "name": "JSONString", @@ -15689,9 +16852,57 @@ "name": "CollectionCreated", "description": null, "fields": [ + { + "name": "issuedAt", + "description": "Time of the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "version", + "description": "Saleor version that triggered the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issuingPrincipal", + "description": "The user or application that triggered the event.", + "args": [], + "type": { + "kind": "UNION", + "name": "IssuingPrincipal", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "recipient", + "description": "The application receiving the webhook.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "App", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "collection", - "description": "Look up a collection.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", + "description": "The collection the event relates to.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", "args": [ { "name": "channel", @@ -15716,7 +16927,13 @@ } ], "inputFields": null, - "interfaces": [], + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Event", + "ofType": null + } + ], "enumValues": null, "possibleTypes": null }, @@ -15796,9 +17013,57 @@ "name": "CollectionDeleted", "description": null, "fields": [ + { + "name": "issuedAt", + "description": "Time of the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "version", + "description": "Saleor version that triggered the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issuingPrincipal", + "description": "The user or application that triggered the event.", + "args": [], + "type": { + "kind": "UNION", + "name": "IssuingPrincipal", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "recipient", + "description": "The application receiving the webhook.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "App", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "collection", - "description": "Look up a collection.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", + "description": "The collection the event relates to.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", "args": [ { "name": "channel", @@ -15823,7 +17088,13 @@ } ], "inputFields": null, - "interfaces": [], + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Event", + "ofType": null + } + ], "enumValues": null, "possibleTypes": null }, @@ -16082,7 +17353,7 @@ }, { "name": "description", - "description": "Description of the collection (JSON).", + "description": "Description of the collection.\n\nRich text format. For reference see https://editorjs.io/", "type": { "kind": "SCALAR", "name": "JSONString", @@ -16469,7 +17740,7 @@ }, { "name": "description", - "description": null, + "description": "Description of the collection.\n\nRich text format. For reference see https://editorjs.io/", "args": [], "type": { "kind": "SCALAR", @@ -16481,7 +17752,7 @@ }, { "name": "descriptionJson", - "description": "Description of the collection (JSON).", + "description": "Description of the collection.\n\nRich text format. For reference see https://editorjs.io/", "args": [], "type": { "kind": "SCALAR", @@ -16690,7 +17961,7 @@ }, { "name": "description", - "description": null, + "description": "Translated description of the collection.\n\nRich text format. For reference see https://editorjs.io/", "args": [], "type": { "kind": "SCALAR", @@ -16702,7 +17973,7 @@ }, { "name": "descriptionJson", - "description": "Translated description of the product (JSON).", + "description": "Translated description of the collection.\n\nRich text format. For reference see https://editorjs.io/", "args": [], "type": { "kind": "SCALAR", @@ -16800,9 +18071,57 @@ "name": "CollectionUpdated", "description": null, "fields": [ + { + "name": "issuedAt", + "description": "Time of the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "version", + "description": "Saleor version that triggered the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issuingPrincipal", + "description": "The user or application that triggered the event.", + "args": [], + "type": { + "kind": "UNION", + "name": "IssuingPrincipal", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "recipient", + "description": "The application receiving the webhook.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "App", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "collection", - "description": "Look up a collection.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", + "description": "The collection the event relates to.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", "args": [ { "name": "channel", @@ -16827,7 +18146,13 @@ } ], "inputFields": null, - "interfaces": [], + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Event", + "ofType": null + } + ], "enumValues": null, "possibleTypes": null }, @@ -19066,9 +20391,57 @@ "name": "CustomerCreated", "description": null, "fields": [ + { + "name": "issuedAt", + "description": "Time of the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "version", + "description": "Saleor version that triggered the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issuingPrincipal", + "description": "The user or application that triggered the event.", + "args": [], + "type": { + "kind": "UNION", + "name": "IssuingPrincipal", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "recipient", + "description": "The application receiving the webhook.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "App", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "user", - "description": "Look up a user.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", + "description": "The user the event relates to.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", "args": [], "type": { "kind": "OBJECT", @@ -19080,7 +20453,13 @@ } ], "inputFields": null, - "interfaces": [], + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Event", + "ofType": null + } + ], "enumValues": null, "possibleTypes": null }, @@ -19647,9 +21026,57 @@ "name": "CustomerUpdated", "description": null, "fields": [ + { + "name": "issuedAt", + "description": "Time of the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "version", + "description": "Saleor version that triggered the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issuingPrincipal", + "description": "The user or application that triggered the event.", + "args": [], + "type": { + "kind": "UNION", + "name": "IssuingPrincipal", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "recipient", + "description": "The application receiving the webhook.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "App", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "user", - "description": "Look up a user.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", + "description": "The user the event relates to.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", "args": [], "type": { "kind": "OBJECT", @@ -19661,7 +21088,13 @@ } ], "inputFields": null, - "interfaces": [], + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Event", + "ofType": null + } + ], "enumValues": null, "possibleTypes": null }, @@ -21668,9 +23101,57 @@ "name": "DraftOrderCreated", "description": null, "fields": [ + { + "name": "issuedAt", + "description": "Time of the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "version", + "description": "Saleor version that triggered the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issuingPrincipal", + "description": "The user or application that triggered the event.", + "args": [], + "type": { + "kind": "UNION", + "name": "IssuingPrincipal", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "recipient", + "description": "The application receiving the webhook.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "App", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "order", - "description": "Look up an order.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", + "description": "The order the event relates to.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", "args": [], "type": { "kind": "OBJECT", @@ -21682,7 +23163,13 @@ } ], "inputFields": null, - "interfaces": [], + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Event", + "ofType": null + } + ], "enumValues": null, "possibleTypes": null }, @@ -21762,9 +23249,57 @@ "name": "DraftOrderDeleted", "description": null, "fields": [ + { + "name": "issuedAt", + "description": "Time of the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "version", + "description": "Saleor version that triggered the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issuingPrincipal", + "description": "The user or application that triggered the event.", + "args": [], + "type": { + "kind": "UNION", + "name": "IssuingPrincipal", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "recipient", + "description": "The application receiving the webhook.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "App", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "order", - "description": "Look up an order.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", + "description": "The order the event relates to.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", "args": [], "type": { "kind": "OBJECT", @@ -21776,7 +23311,13 @@ } ], "inputFields": null, - "interfaces": [], + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Event", + "ofType": null + } + ], "enumValues": null, "possibleTypes": null }, @@ -22062,9 +23603,57 @@ "name": "DraftOrderUpdated", "description": null, "fields": [ + { + "name": "issuedAt", + "description": "Time of the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "version", + "description": "Saleor version that triggered the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issuingPrincipal", + "description": "The user or application that triggered the event.", + "args": [], + "type": { + "kind": "UNION", + "name": "IssuingPrincipal", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "recipient", + "description": "The application receiving the webhook.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "App", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "order", - "description": "Look up an order.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", + "description": "The order the event relates to.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", "args": [], "type": { "kind": "OBJECT", @@ -22076,27 +23665,112 @@ } ], "inputFields": null, - "interfaces": [], + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Event", + "ofType": null + } + ], "enumValues": null, "possibleTypes": null }, { - "kind": "UNION", + "kind": "INTERFACE", "name": "Event", "description": null, - "fields": null, + "fields": [ + { + "name": "issuedAt", + "description": "Time of the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "version", + "description": "Saleor version that triggered the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issuingPrincipal", + "description": "The user or application that triggered the event.", + "args": [], + "type": { + "kind": "UNION", + "name": "IssuingPrincipal", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "recipient", + "description": "The application receiving the webhook.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "App", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], "inputFields": null, - "interfaces": null, + "interfaces": [], "enumValues": null, "possibleTypes": [ { "kind": "OBJECT", - "name": "CategoryCreated", + "name": "AddressCreated", "ofType": null }, { "kind": "OBJECT", - "name": "CategoryUpdated", + "name": "AddressDeleted", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "AddressUpdated", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "AppDeleted", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "AppInstalled", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "AppStatusChanged", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "AppUpdated", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "CategoryCreated", "ofType": null }, { @@ -22106,12 +23780,12 @@ }, { "kind": "OBJECT", - "name": "ChannelCreated", + "name": "CategoryUpdated", "ofType": null }, { "kind": "OBJECT", - "name": "ChannelUpdated", + "name": "ChannelCreated", "ofType": null }, { @@ -22126,202 +23800,7 @@ }, { "kind": "OBJECT", - "name": "GiftCardCreated", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "GiftCardUpdated", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "GiftCardDeleted", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "GiftCardStatusChanged", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "MenuCreated", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "MenuUpdated", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "MenuDeleted", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "MenuItemCreated", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "MenuItemUpdated", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "MenuItemDeleted", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "OrderCreated", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "OrderUpdated", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "OrderConfirmed", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "OrderFullyPaid", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "OrderCancelled", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "OrderFulfilled", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "DraftOrderCreated", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "DraftOrderUpdated", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "DraftOrderDeleted", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "ProductCreated", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "ProductUpdated", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "ProductDeleted", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "ProductVariantCreated", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "ProductVariantUpdated", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "ProductVariantOutOfStock", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "ProductVariantBackInStock", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "ProductVariantDeleted", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "SaleCreated", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "SaleUpdated", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "SaleDeleted", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "InvoiceRequested", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "InvoiceDeleted", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "InvoiceSent", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "FulfillmentCreated", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "FulfillmentCanceled", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "CustomerCreated", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "CustomerUpdated", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "CollectionCreated", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "CollectionUpdated", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "CollectionDeleted", + "name": "ChannelUpdated", "ofType": null }, { @@ -22336,12 +23815,152 @@ }, { "kind": "OBJECT", - "name": "PageCreated", + "name": "CollectionCreated", "ofType": null }, { "kind": "OBJECT", - "name": "PageUpdated", + "name": "CollectionDeleted", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "CollectionUpdated", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "CustomerCreated", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "CustomerUpdated", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "DraftOrderCreated", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "DraftOrderDeleted", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "DraftOrderUpdated", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "FulfillmentCanceled", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "FulfillmentCreated", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "GiftCardCreated", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "GiftCardDeleted", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "GiftCardStatusChanged", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "GiftCardUpdated", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "InvoiceDeleted", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "InvoiceRequested", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "InvoiceSent", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "MenuCreated", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "MenuDeleted", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "MenuItemCreated", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "MenuItemDeleted", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "MenuItemUpdated", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "MenuUpdated", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "OrderCancelled", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "OrderConfirmed", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "OrderCreated", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "OrderFulfilled", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "OrderFullyPaid", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "OrderUpdated", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "PageCreated", "ofType": null }, { @@ -22351,12 +23970,82 @@ }, { "kind": "OBJECT", - "name": "ShippingPriceCreated", + "name": "PageTypeCreated", "ofType": null }, { "kind": "OBJECT", - "name": "ShippingPriceUpdated", + "name": "PageTypeDeleted", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "PageTypeUpdated", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "PageUpdated", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "ProductCreated", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "ProductDeleted", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "ProductUpdated", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "ProductVariantBackInStock", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "ProductVariantCreated", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "ProductVariantDeleted", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "ProductVariantOutOfStock", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "ProductVariantUpdated", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "SaleCreated", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "SaleDeleted", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "SaleUpdated", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "ShippingPriceCreated", "ofType": null }, { @@ -22364,6 +24053,11 @@ "name": "ShippingPriceDeleted", "ofType": null }, + { + "kind": "OBJECT", + "name": "ShippingPriceUpdated", + "ofType": null + }, { "kind": "OBJECT", "name": "ShippingZoneCreated", @@ -22371,12 +24065,12 @@ }, { "kind": "OBJECT", - "name": "ShippingZoneUpdated", + "name": "ShippingZoneDeleted", "ofType": null }, { "kind": "OBJECT", - "name": "ShippingZoneDeleted", + "name": "ShippingZoneUpdated", "ofType": null }, { @@ -22399,6 +24093,11 @@ "name": "VoucherCreated", "ofType": null }, + { + "kind": "OBJECT", + "name": "VoucherDeleted", + "ofType": null + }, { "kind": "OBJECT", "name": "VoucherUpdated", @@ -22406,7 +24105,17 @@ }, { "kind": "OBJECT", - "name": "VoucherDeleted", + "name": "WarehouseCreated", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "WarehouseDeleted", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "WarehouseUpdated", "ofType": null } ] @@ -25537,9 +27246,57 @@ "name": "FulfillmentCanceled", "description": null, "fields": [ + { + "name": "issuedAt", + "description": "Time of the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "version", + "description": "Saleor version that triggered the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issuingPrincipal", + "description": "The user or application that triggered the event.", + "args": [], + "type": { + "kind": "UNION", + "name": "IssuingPrincipal", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "recipient", + "description": "The application receiving the webhook.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "App", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "fulfillment", - "description": "Look up a Fulfillment.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", + "description": "The fulfillment the event relates to.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", "args": [], "type": { "kind": "OBJECT", @@ -25548,10 +27305,28 @@ }, "isDeprecated": false, "deprecationReason": null + }, + { + "name": "order", + "description": "The order the fulfillment belongs to.\n\nAdded in Saleor 3.4.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "Order", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null } ], "inputFields": null, - "interfaces": [], + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Event", + "ofType": null + } + ], "enumValues": null, "possibleTypes": null }, @@ -25560,9 +27335,57 @@ "name": "FulfillmentCreated", "description": null, "fields": [ + { + "name": "issuedAt", + "description": "Time of the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "version", + "description": "Saleor version that triggered the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issuingPrincipal", + "description": "The user or application that triggered the event.", + "args": [], + "type": { + "kind": "UNION", + "name": "IssuingPrincipal", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "recipient", + "description": "The application receiving the webhook.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "App", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "fulfillment", - "description": "Look up a Fulfillment.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", + "description": "The fulfillment the event relates to.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", "args": [], "type": { "kind": "OBJECT", @@ -25571,10 +27394,28 @@ }, "isDeprecated": false, "deprecationReason": null + }, + { + "name": "order", + "description": "The order the fulfillment belongs to.\n\nAdded in Saleor 3.4.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "Order", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null } ], "inputFields": null, - "interfaces": [], + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Event", + "ofType": null + } + ], "enumValues": null, "possibleTypes": null }, @@ -27373,9 +29214,57 @@ "name": "GiftCardCreated", "description": null, "fields": [ + { + "name": "issuedAt", + "description": "Time of the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "version", + "description": "Saleor version that triggered the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issuingPrincipal", + "description": "The user or application that triggered the event.", + "args": [], + "type": { + "kind": "UNION", + "name": "IssuingPrincipal", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "recipient", + "description": "The application receiving the webhook.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "App", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "giftCard", - "description": "Look up a gift card.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", + "description": "The gift card the event relates to.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", "args": [], "type": { "kind": "OBJECT", @@ -27387,7 +29276,13 @@ } ], "inputFields": null, - "interfaces": [], + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Event", + "ofType": null + } + ], "enumValues": null, "possibleTypes": null }, @@ -27538,9 +29433,57 @@ "name": "GiftCardDeleted", "description": null, "fields": [ + { + "name": "issuedAt", + "description": "Time of the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "version", + "description": "Saleor version that triggered the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issuingPrincipal", + "description": "The user or application that triggered the event.", + "args": [], + "type": { + "kind": "UNION", + "name": "IssuingPrincipal", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "recipient", + "description": "The application receiving the webhook.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "App", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "giftCard", - "description": "Look up a gift card.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", + "description": "The gift card the event relates to.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", "args": [], "type": { "kind": "OBJECT", @@ -27552,7 +29495,13 @@ } ], "inputFields": null, - "interfaces": [], + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Event", + "ofType": null + } + ], "enumValues": null, "possibleTypes": null }, @@ -28646,9 +30595,57 @@ "name": "GiftCardStatusChanged", "description": null, "fields": [ + { + "name": "issuedAt", + "description": "Time of the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "version", + "description": "Saleor version that triggered the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issuingPrincipal", + "description": "The user or application that triggered the event.", + "args": [], + "type": { + "kind": "UNION", + "name": "IssuingPrincipal", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "recipient", + "description": "The application receiving the webhook.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "App", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "giftCard", - "description": "Look up a gift card.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", + "description": "The gift card the event relates to.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", "args": [], "type": { "kind": "OBJECT", @@ -28660,7 +30657,13 @@ } ], "inputFields": null, - "interfaces": [], + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Event", + "ofType": null + } + ], "enumValues": null, "possibleTypes": null }, @@ -29017,9 +31020,57 @@ "name": "GiftCardUpdated", "description": null, "fields": [ + { + "name": "issuedAt", + "description": "Time of the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "version", + "description": "Saleor version that triggered the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issuingPrincipal", + "description": "The user or application that triggered the event.", + "args": [], + "type": { + "kind": "UNION", + "name": "IssuingPrincipal", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "recipient", + "description": "The application receiving the webhook.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "App", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "giftCard", - "description": "Look up a gift card.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", + "description": "The gift card the event relates to.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", "args": [], "type": { "kind": "OBJECT", @@ -29031,7 +31082,13 @@ } ], "inputFields": null, - "interfaces": [], + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Event", + "ofType": null + } + ], "enumValues": null, "possibleTypes": null }, @@ -29821,9 +31878,57 @@ "name": "InvoiceDeleted", "description": null, "fields": [ + { + "name": "issuedAt", + "description": "Time of the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "version", + "description": "Saleor version that triggered the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issuingPrincipal", + "description": "The user or application that triggered the event.", + "args": [], + "type": { + "kind": "UNION", + "name": "IssuingPrincipal", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "recipient", + "description": "The application receiving the webhook.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "App", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "invoice", - "description": "Look up an Invoice.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", + "description": "The invoice the event relates to.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", "args": [], "type": { "kind": "OBJECT", @@ -29835,7 +31940,13 @@ } ], "inputFields": null, - "interfaces": [], + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Event", + "ofType": null + } + ], "enumValues": null, "possibleTypes": null }, @@ -30108,9 +32219,57 @@ "name": "InvoiceRequested", "description": null, "fields": [ + { + "name": "issuedAt", + "description": "Time of the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "version", + "description": "Saleor version that triggered the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issuingPrincipal", + "description": "The user or application that triggered the event.", + "args": [], + "type": { + "kind": "UNION", + "name": "IssuingPrincipal", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "recipient", + "description": "The application receiving the webhook.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "App", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "invoice", - "description": "Look up an Invoice.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", + "description": "The invoice the event relates to.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", "args": [], "type": { "kind": "OBJECT", @@ -30122,7 +32281,13 @@ } ], "inputFields": null, - "interfaces": [], + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Event", + "ofType": null + } + ], "enumValues": null, "possibleTypes": null }, @@ -30202,9 +32367,57 @@ "name": "InvoiceSent", "description": null, "fields": [ + { + "name": "issuedAt", + "description": "Time of the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "version", + "description": "Saleor version that triggered the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issuingPrincipal", + "description": "The user or application that triggered the event.", + "args": [], + "type": { + "kind": "UNION", + "name": "IssuingPrincipal", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "recipient", + "description": "The application receiving the webhook.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "App", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "invoice", - "description": "Look up an Invoice.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", + "description": "The invoice the event relates to.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", "args": [], "type": { "kind": "OBJECT", @@ -30216,7 +32429,13 @@ } ], "inputFields": null, - "interfaces": [], + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Event", + "ofType": null + } + ], "enumValues": null, "possibleTypes": null }, @@ -30291,6 +32510,27 @@ "enumValues": null, "possibleTypes": null }, + { + "kind": "UNION", + "name": "IssuingPrincipal", + "description": null, + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": [ + { + "kind": "OBJECT", + "name": "App", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "User", + "ofType": null + } + ] + }, { "kind": "SCALAR", "name": "JSONString", @@ -36268,9 +38508,57 @@ "name": "MenuCreated", "description": null, "fields": [ + { + "name": "issuedAt", + "description": "Time of the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "version", + "description": "Saleor version that triggered the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issuingPrincipal", + "description": "The user or application that triggered the event.", + "args": [], + "type": { + "kind": "UNION", + "name": "IssuingPrincipal", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "recipient", + "description": "The application receiving the webhook.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "App", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "menu", - "description": "Look up a menu.\n\nAdded in Saleor 3.4.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", + "description": "The menu the event relates to.\n\nAdded in Saleor 3.4.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", "args": [ { "name": "channel", @@ -36295,7 +38583,13 @@ } ], "inputFields": null, - "interfaces": [], + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Event", + "ofType": null + } + ], "enumValues": null, "possibleTypes": null }, @@ -36375,9 +38669,57 @@ "name": "MenuDeleted", "description": null, "fields": [ + { + "name": "issuedAt", + "description": "Time of the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "version", + "description": "Saleor version that triggered the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issuingPrincipal", + "description": "The user or application that triggered the event.", + "args": [], + "type": { + "kind": "UNION", + "name": "IssuingPrincipal", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "recipient", + "description": "The application receiving the webhook.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "App", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "menu", - "description": "Look up a menu.\n\nAdded in Saleor 3.4.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", + "description": "The menu the event relates to.\n\nAdded in Saleor 3.4.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", "args": [ { "name": "channel", @@ -36402,7 +38744,13 @@ } ], "inputFields": null, - "interfaces": [], + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Event", + "ofType": null + } + ], "enumValues": null, "possibleTypes": null }, @@ -37347,9 +39695,57 @@ "name": "MenuItemCreated", "description": null, "fields": [ + { + "name": "issuedAt", + "description": "Time of the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "version", + "description": "Saleor version that triggered the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issuingPrincipal", + "description": "The user or application that triggered the event.", + "args": [], + "type": { + "kind": "UNION", + "name": "IssuingPrincipal", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "recipient", + "description": "The application receiving the webhook.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "App", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "menuItem", - "description": "Look up a menu item.\n\nAdded in Saleor 3.4.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", + "description": "The menu item the event relates to.\n\nAdded in Saleor 3.4.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", "args": [ { "name": "channel", @@ -37374,7 +39770,13 @@ } ], "inputFields": null, - "interfaces": [], + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Event", + "ofType": null + } + ], "enumValues": null, "possibleTypes": null }, @@ -37454,9 +39856,57 @@ "name": "MenuItemDeleted", "description": null, "fields": [ + { + "name": "issuedAt", + "description": "Time of the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "version", + "description": "Saleor version that triggered the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issuingPrincipal", + "description": "The user or application that triggered the event.", + "args": [], + "type": { + "kind": "UNION", + "name": "IssuingPrincipal", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "recipient", + "description": "The application receiving the webhook.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "App", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "menuItem", - "description": "Look up a menu item.\n\nAdded in Saleor 3.4.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", + "description": "The menu item the event relates to.\n\nAdded in Saleor 3.4.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", "args": [ { "name": "channel", @@ -37481,7 +39931,13 @@ } ], "inputFields": null, - "interfaces": [], + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Event", + "ofType": null + } + ], "enumValues": null, "possibleTypes": null }, @@ -38066,9 +40522,57 @@ "name": "MenuItemUpdated", "description": null, "fields": [ + { + "name": "issuedAt", + "description": "Time of the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "version", + "description": "Saleor version that triggered the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issuingPrincipal", + "description": "The user or application that triggered the event.", + "args": [], + "type": { + "kind": "UNION", + "name": "IssuingPrincipal", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "recipient", + "description": "The application receiving the webhook.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "App", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "menuItem", - "description": "Look up a menu item.\n\nAdded in Saleor 3.4.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", + "description": "The menu item the event relates to.\n\nAdded in Saleor 3.4.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", "args": [ { "name": "channel", @@ -38093,7 +40597,13 @@ } ], "inputFields": null, - "interfaces": [], + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Event", + "ofType": null + } + ], "enumValues": null, "possibleTypes": null }, @@ -38256,9 +40766,57 @@ "name": "MenuUpdated", "description": null, "fields": [ + { + "name": "issuedAt", + "description": "Time of the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "version", + "description": "Saleor version that triggered the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issuingPrincipal", + "description": "The user or application that triggered the event.", + "args": [], + "type": { + "kind": "UNION", + "name": "IssuingPrincipal", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "recipient", + "description": "The application receiving the webhook.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "App", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "menu", - "description": "Look up a menu.\n\nAdded in Saleor 3.4.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", + "description": "The menu the event relates to.\n\nAdded in Saleor 3.4.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", "args": [ { "name": "channel", @@ -38283,7 +40841,13 @@ } ], "inputFields": null, - "interfaces": [], + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Event", + "ofType": null + } + ], "enumValues": null, "possibleTypes": null }, @@ -46478,7 +49042,19 @@ "args": [ { "name": "checkoutId", - "description": "The ID of the checkout. \n\nDEPRECATED: this field will be removed in Saleor 4.0. Use token instead.", + "description": "The ID of the checkout.\n\nDEPRECATED: this field will be removed in Saleor 4.0. Use `id` instead.", + "type": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "The checkout's ID.\n\nAdded in Saleor 3.4.", "type": { "kind": "SCALAR", "name": "ID", @@ -46506,7 +49082,7 @@ }, { "name": "token", - "description": "Checkout token.", + "description": "Checkout token.\n\nDEPRECATED: this field will be removed in Saleor 4.0. Use `id` instead.", "type": { "kind": "SCALAR", "name": "UUID", @@ -46547,7 +49123,19 @@ }, { "name": "checkoutId", - "description": "The ID of the checkout. \n\nDEPRECATED: this field will be removed in Saleor 4.0. Use token instead.", + "description": "The ID of the checkout. \n\nDEPRECATED: this field will be removed in Saleor 4.0. Use `id` instead.", + "type": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "The checkout's ID.\n\nAdded in Saleor 3.4.", "type": { "kind": "SCALAR", "name": "ID", @@ -46559,7 +49147,7 @@ }, { "name": "token", - "description": "Checkout token.", + "description": "Checkout token.\n\nDEPRECATED: this field will be removed in Saleor 4.0. Use `id` instead.", "type": { "kind": "SCALAR", "name": "UUID", @@ -46584,7 +49172,19 @@ "args": [ { "name": "checkoutId", - "description": "The ID of the checkout. \n\nDEPRECATED: this field will be removed in Saleor 4.0. Use token instead.", + "description": "The ID of the checkout. \n\nDEPRECATED: this field will be removed in Saleor 4.0. Use `id` instead.", + "type": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "The checkout's ID.\n\nAdded in Saleor 3.4.", "type": { "kind": "SCALAR", "name": "ID", @@ -46632,7 +49232,7 @@ }, { "name": "token", - "description": "Checkout token.", + "description": "Checkout token.\n\nDEPRECATED: this field will be removed in Saleor 4.0. Use `id` instead.", "type": { "kind": "SCALAR", "name": "UUID", @@ -46686,7 +49286,7 @@ "args": [ { "name": "checkoutId", - "description": "The ID of the checkout. \n\nDEPRECATED: this field will be removed in Saleor 4.0. Use token instead.", + "description": "The ID of the checkout. \n\nDEPRECATED: this field will be removed in Saleor 4.0. Use `id` instead.", "type": { "kind": "SCALAR", "name": "ID", @@ -46708,9 +49308,21 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "id", + "description": "The checkout's ID.\n\nAdded in Saleor 3.4.", + "type": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "token", - "description": "Checkout token.", + "description": "Checkout token.\n\nDEPRECATED: this field will be removed in Saleor 4.0. Use `id` instead.", "type": { "kind": "SCALAR", "name": "UUID", @@ -46735,7 +49347,19 @@ "args": [ { "name": "checkoutId", - "description": "The ID of the checkout. \n\nDEPRECATED: this field will be removed in Saleor 4.0. Use token instead.", + "description": "The ID of the checkout. \n\nDEPRECATED: this field will be removed in Saleor 4.0. Use `id` instead.", + "type": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "The checkout's ID.\n\nAdded in Saleor 3.4.", "type": { "kind": "SCALAR", "name": "ID", @@ -46747,7 +49371,7 @@ }, { "name": "token", - "description": "Checkout token.", + "description": "Checkout token.\n\nDEPRECATED: this field will be removed in Saleor 4.0. Use `id` instead.", "type": { "kind": "SCALAR", "name": "UUID", @@ -46772,7 +49396,7 @@ "args": [ { "name": "checkoutId", - "description": "The ID of the checkout. \n\nDEPRECATED: this field will be removed in Saleor 4.0. Use token instead.", + "description": "The ID of the checkout. \n\nDEPRECATED: this field will be removed in Saleor 4.0. Use `id` instead.", "type": { "kind": "SCALAR", "name": "ID", @@ -46798,9 +49422,21 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "id", + "description": "The checkout's ID.\n\nAdded in Saleor 3.4.", + "type": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "token", - "description": "Checkout token.", + "description": "Checkout token.\n\nDEPRECATED: this field will be removed in Saleor 4.0. Use `id` instead.", "type": { "kind": "SCALAR", "name": "UUID", @@ -46825,7 +49461,19 @@ "args": [ { "name": "checkoutId", - "description": "The ID of the checkout. \n\nDEPRECATED: this field will be removed in Saleor 4.0. Use token instead.", + "description": "The ID of the checkout. \n\nDEPRECATED: this field will be removed in Saleor 4.0. Use `id` instead.", + "type": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "The checkout's ID.\n\nAdded in Saleor 3.4.", "type": { "kind": "SCALAR", "name": "ID", @@ -46849,7 +49497,7 @@ }, { "name": "token", - "description": "Checkout token.", + "description": "Checkout token.\n\nDEPRECATED: this field will be removed in Saleor 4.0. Use `id` instead.", "type": { "kind": "SCALAR", "name": "UUID", @@ -46872,6 +49520,18 @@ "name": "checkoutLinesDelete", "description": "Deletes checkout lines.", "args": [ + { + "name": "id", + "description": "The checkout's ID.\n\nAdded in Saleor 3.4.", + "type": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "linesIds", "description": "A list of checkout lines.", @@ -46898,15 +49558,11 @@ }, { "name": "token", - "description": "Checkout token.", + "description": "Checkout token.\n\nDEPRECATED: this field will be removed in Saleor 4.0. Use `id` instead.", "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "UUID", - "ofType": null - } + "kind": "SCALAR", + "name": "UUID", + "ofType": null }, "defaultValue": null, "isDeprecated": false, @@ -46927,7 +49583,19 @@ "args": [ { "name": "checkoutId", - "description": "The ID of the checkout. \n\nDEPRECATED: this field will be removed in Saleor 4.0. Use token instead.", + "description": "The ID of the checkout. \n\nDEPRECATED: this field will be removed in Saleor 4.0. Use `id` instead.", + "type": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "The checkout's ID.\n\nAdded in Saleor 3.4.", "type": { "kind": "SCALAR", "name": "ID", @@ -46963,7 +49631,7 @@ }, { "name": "token", - "description": "Checkout token.", + "description": "Checkout token.\n\nDEPRECATED: this field will be removed in Saleor 4.0. Use `id` instead.", "type": { "kind": "SCALAR", "name": "UUID", @@ -46988,7 +49656,19 @@ "args": [ { "name": "checkoutId", - "description": "The ID of the checkout. \n\nDEPRECATED: this field will be removed in Saleor 4.0. Use token instead.", + "description": "The ID of the checkout. \n\nDEPRECATED: this field will be removed in Saleor 4.0. Use `id` instead.", + "type": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "The checkout's ID.\n\nAdded in Saleor 3.4.", "type": { "kind": "SCALAR", "name": "ID", @@ -47024,7 +49704,7 @@ }, { "name": "token", - "description": "Checkout token.", + "description": "Checkout token.\n\nDEPRECATED: this field will be removed in Saleor 4.0. Use `id` instead.", "type": { "kind": "SCALAR", "name": "UUID", @@ -47049,7 +49729,19 @@ "args": [ { "name": "checkoutId", - "description": "The ID of the checkout. \n\nDEPRECATED: this field will be removed in Saleor 4.0. Use token instead.", + "description": "The ID of the checkout. \n\nDEPRECATED: this field will be removed in Saleor 4.0. Use `id` instead.", + "type": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "The checkout's ID.\n\nAdded in Saleor 3.4.", "type": { "kind": "SCALAR", "name": "ID", @@ -47085,7 +49777,7 @@ }, { "name": "token", - "description": "Checkout token.", + "description": "Checkout token.\n\nDEPRECATED: this field will be removed in Saleor 4.0. Use `id` instead.", "type": { "kind": "SCALAR", "name": "UUID", @@ -47110,7 +49802,19 @@ "args": [ { "name": "checkoutId", - "description": "The ID of the checkout. \n\nDEPRECATED: this field will be removed in Saleor 4.0. Use token instead.", + "description": "The ID of the checkout. \n\nDEPRECATED: this field will be removed in Saleor 4.0. Use `id` instead.", + "type": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "The checkout's ID.\n\nAdded in Saleor 3.4.", "type": { "kind": "SCALAR", "name": "ID", @@ -47138,7 +49842,7 @@ }, { "name": "token", - "description": "Checkout token.", + "description": "Checkout token.\n\nDEPRECATED: this field will be removed in Saleor 4.0. Use `id` instead.", "type": { "kind": "SCALAR", "name": "UUID", @@ -47163,7 +49867,19 @@ "args": [ { "name": "checkoutId", - "description": "The ID of the checkout. \n\nDEPRECATED: this field will be removed in Saleor 4.0. Use token instead.", + "description": "The ID of the checkout. \n\nDEPRECATED: this field will be removed in Saleor 4.0. Use `id` instead.", + "type": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "The checkout's ID.\n\nAdded in Saleor 3.4.", "type": { "kind": "SCALAR", "name": "ID", @@ -47191,7 +49907,7 @@ }, { "name": "token", - "description": "Checkout token.", + "description": "Checkout token.\n\nDEPRECATED: this field will be removed in Saleor 4.0. Use `id` instead.", "type": { "kind": "SCALAR", "name": "UUID", @@ -47216,7 +49932,19 @@ "args": [ { "name": "checkoutId", - "description": "The ID of the checkout. \n\nDEPRECATED: this field will be removed in Saleor 4.0. Use token instead.", + "description": "The ID of the checkout. \n\nDEPRECATED: this field will be removed in Saleor 4.0. Use `id` instead.", + "type": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "The checkout's ID.\n\nAdded in Saleor 3.4.", "type": { "kind": "SCALAR", "name": "ID", @@ -47244,7 +49972,7 @@ }, { "name": "token", - "description": "Checkout token.", + "description": "Checkout token.\n\nDEPRECATED: this field will be removed in Saleor 4.0. Use `id` instead.", "type": { "kind": "SCALAR", "name": "UUID", @@ -47279,9 +50007,21 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "id", + "description": "The checkout's ID.\n\nAdded in Saleor 3.4.", + "type": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "token", - "description": "Checkout token.", + "description": "Checkout token.\n\nDEPRECATED: this field will be removed in Saleor 4.0. Use `id` instead.", "type": { "kind": "SCALAR", "name": "UUID", @@ -47306,7 +50046,19 @@ "args": [ { "name": "checkoutId", - "description": "The ID of the checkout. \n\nDEPRECATED: this field will be removed in Saleor 4.0. Use token instead.", + "description": "The ID of the checkout. \n\nDEPRECATED: this field will be removed in Saleor 4.0. Use `id` instead.", + "type": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "The checkout's ID.\n\nAdded in Saleor 3.4.", "type": { "kind": "SCALAR", "name": "ID", @@ -47334,7 +50086,7 @@ }, { "name": "token", - "description": "Checkout token.", + "description": "Checkout token.\n\nDEPRECATED: this field will be removed in Saleor 4.0. Use `id` instead.", "type": { "kind": "SCALAR", "name": "UUID", @@ -51081,7 +53833,7 @@ }, { "name": "user", - "description": "User who placed the order. This field is set only for orders placed by authenticated users. Requires one of the following permissions: MANAGE_USERS, MANAGE_ORDERS, OWNER.", + "description": "User who placed the order. This field is set only for orders placed by authenticated users. Can be fetched for orders created in Saleor 3.2 and later, for other orders requires one of the following permissions: MANAGE_USERS, MANAGE_ORDERS, OWNER.", "args": [], "type": { "kind": "OBJECT", @@ -51109,7 +53861,7 @@ }, { "name": "billingAddress", - "description": "Billing address. Requires one of the following permissions to view the full data: MANAGE_ORDERS, OWNER.", + "description": "Billing address. The full data can be access for orders created in Saleor 3.2 and later, for other orders requires one of the following permissions: MANAGE_ORDERS, OWNER.", "args": [], "type": { "kind": "OBJECT", @@ -51121,7 +53873,7 @@ }, { "name": "shippingAddress", - "description": "Shipping address. Requires one of the following permissions to view the full data: MANAGE_ORDERS, OWNER.", + "description": "Shipping address. The full data can be access for orders created in Saleor 3.2 and later, for other orders requires one of the following permissions: MANAGE_ORDERS, OWNER.", "args": [], "type": { "kind": "OBJECT", @@ -51313,7 +54065,7 @@ }, { "name": "invoices", - "description": "List of order invoices. Requires one of the following permissions: MANAGE_ORDERS, OWNER.", + "description": "List of order invoices. Can be fetched for orders created in Saleor 3.2 and later, for other orders requires one of the following permissions: MANAGE_ORDERS, OWNER.", "args": [], "type": { "kind": "NON_NULL", @@ -51427,6 +54179,38 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "authorizeStatus", + "description": "The authorize status of the order.\n\nAdded in Saleor 3.4.\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": "ENUM", + "name": "OrderAuthorizeStatusEnum", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "chargeStatus", + "description": "The charge status of the order.\n\nAdded in Saleor 3.4.\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": "ENUM", + "name": "OrderChargeStatusEnum", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "transactions", "description": "List of transactions for the order. Requires one of the following permissions: MANAGE_ORDERS, HANDLE_PAYMENTS.\n\nAdded in Saleor 3.4.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", @@ -51785,7 +54569,7 @@ }, { "name": "userEmail", - "description": "Email address of the customer. Requires the following permissions to access the full data: MANAGE_ORDERS, OWNER.", + "description": "Email address of the customer. The full data can be access for orders created in Saleor 3.2 and later, for other orders requires one of the following permissions: MANAGE_ORDERS, OWNER.", "args": [], "type": { "kind": "SCALAR", @@ -52101,6 +54885,35 @@ "enumValues": null, "possibleTypes": null }, + { + "kind": "ENUM", + "name": "OrderAuthorizeStatusEnum", + "description": "Determine a current authorize status for order.\n\n We treat the order as fully authorized when the sum of authorized and charged funds\n cover the order.total.\n We treat the order as partially authorized when the sum of authorized and charged\n funds covers only part of the order.total\n We treat the order as not authorized when the sum of authorized and charged funds is\n 0.\n\n NONE - the funds are not authorized\n PARTIAL - the funds that are authorized or charged don't cover fully the order's\n total\n FULL - the funds that are authorized or charged fully cover the order's total\n ", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "NONE", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PARTIAL", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "FULL", + "description": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, { "kind": "OBJECT", "name": "OrderBulkCancel", @@ -52252,9 +55065,57 @@ "name": "OrderCancelled", "description": null, "fields": [ + { + "name": "issuedAt", + "description": "Time of the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "version", + "description": "Saleor version that triggered the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issuingPrincipal", + "description": "The user or application that triggered the event.", + "args": [], + "type": { + "kind": "UNION", + "name": "IssuingPrincipal", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "recipient", + "description": "The application receiving the webhook.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "App", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "order", - "description": "Look up an order.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", + "description": "The order the event relates to.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", "args": [], "type": { "kind": "OBJECT", @@ -52266,7 +55127,13 @@ } ], "inputFields": null, - "interfaces": [], + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Event", + "ofType": null + } + ], "enumValues": null, "possibleTypes": null }, @@ -52341,6 +55208,41 @@ "enumValues": null, "possibleTypes": null }, + { + "kind": "ENUM", + "name": "OrderChargeStatusEnum", + "description": "Determine the current charge status for the order.\n\n We treat the order as overcharged when the charged amount is bigger that order.total\n We treat the order as fully charged when the charged amount is equal to order.total.\n We treat the order as partially charged when the charged amount covers only part of\n the order.total\n\n NONE - the funds are not charged.\n PARTIAL - the funds that are charged don't cover the order's total\n FULL - the funds that are charged fully cover the order's total\n OVERCHARGED - the charged funds are bigger than order's total\n ", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "NONE", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PARTIAL", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "FULL", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "OVERCHARGED", + "description": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, { "kind": "OBJECT", "name": "OrderConfirm", @@ -52417,9 +55319,57 @@ "name": "OrderConfirmed", "description": null, "fields": [ + { + "name": "issuedAt", + "description": "Time of the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "version", + "description": "Saleor version that triggered the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issuingPrincipal", + "description": "The user or application that triggered the event.", + "args": [], + "type": { + "kind": "UNION", + "name": "IssuingPrincipal", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "recipient", + "description": "The application receiving the webhook.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "App", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "order", - "description": "Look up an order.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", + "description": "The order the event relates to.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", "args": [], "type": { "kind": "OBJECT", @@ -52431,7 +55381,13 @@ } ], "inputFields": null, - "interfaces": [], + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Event", + "ofType": null + } + ], "enumValues": null, "possibleTypes": null }, @@ -52779,9 +55735,57 @@ "name": "OrderCreated", "description": null, "fields": [ + { + "name": "issuedAt", + "description": "Time of the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "version", + "description": "Saleor version that triggered the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issuingPrincipal", + "description": "The user or application that triggered the event.", + "args": [], + "type": { + "kind": "UNION", + "name": "IssuingPrincipal", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "recipient", + "description": "The application receiving the webhook.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "App", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "order", - "description": "Look up an order.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", + "description": "The order the event relates to.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", "args": [], "type": { "kind": "OBJECT", @@ -52793,7 +55797,13 @@ } ], "inputFields": null, - "interfaces": [], + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Event", + "ofType": null + } + ], "enumValues": null, "possibleTypes": null }, @@ -54736,6 +57746,46 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "authorizeStatus", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "OrderAuthorizeStatusEnum", + "ofType": null + } + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "chargeStatus", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "OrderChargeStatusEnum", + "ofType": null + } + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "updatedAt", "description": null, @@ -55066,9 +58116,57 @@ "name": "OrderFulfilled", "description": null, "fields": [ + { + "name": "issuedAt", + "description": "Time of the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "version", + "description": "Saleor version that triggered the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issuingPrincipal", + "description": "The user or application that triggered the event.", + "args": [], + "type": { + "kind": "UNION", + "name": "IssuingPrincipal", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "recipient", + "description": "The application receiving the webhook.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "App", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "order", - "description": "Look up an order.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", + "description": "The order the event relates to.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", "args": [], "type": { "kind": "OBJECT", @@ -55080,7 +58178,13 @@ } ], "inputFields": null, - "interfaces": [], + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Event", + "ofType": null + } + ], "enumValues": null, "possibleTypes": null }, @@ -55089,9 +58193,57 @@ "name": "OrderFullyPaid", "description": null, "fields": [ + { + "name": "issuedAt", + "description": "Time of the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "version", + "description": "Saleor version that triggered the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issuingPrincipal", + "description": "The user or application that triggered the event.", + "args": [], + "type": { + "kind": "UNION", + "name": "IssuingPrincipal", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "recipient", + "description": "The application receiving the webhook.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "App", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "order", - "description": "Look up an order.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", + "description": "The order the event relates to.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", "args": [], "type": { "kind": "OBJECT", @@ -55103,7 +58255,13 @@ } ], "inputFields": null, - "interfaces": [], + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Event", + "ofType": null + } + ], "enumValues": null, "possibleTypes": null }, @@ -57145,9 +60303,57 @@ "name": "OrderUpdated", "description": null, "fields": [ + { + "name": "issuedAt", + "description": "Time of the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "version", + "description": "Saleor version that triggered the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issuingPrincipal", + "description": "The user or application that triggered the event.", + "args": [], + "type": { + "kind": "UNION", + "name": "IssuingPrincipal", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "recipient", + "description": "The application receiving the webhook.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "App", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "order", - "description": "Look up an order.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", + "description": "The order the event relates to.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", "args": [], "type": { "kind": "OBJECT", @@ -57159,7 +60365,13 @@ } ], "inputFields": null, - "interfaces": [], + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Event", + "ofType": null + } + ], "enumValues": null, "possibleTypes": null }, @@ -57469,7 +60681,7 @@ }, { "name": "content", - "description": "Content of the page (JSON).", + "description": "Content of the page.\n\nRich text format. For reference see https://editorjs.io/", "args": [], "type": { "kind": "SCALAR", @@ -57569,7 +60781,7 @@ }, { "name": "contentJson", - "description": "Content of the page (JSON).", + "description": "Content of the page.\n\nRich text format. For reference see https://editorjs.io/", "args": [], "type": { "kind": "NON_NULL", @@ -58154,7 +61366,7 @@ }, { "name": "content", - "description": "Page content in JSON format.", + "description": "Page content.\n\nRich text format. For reference see https://editorjs.io/", "type": { "kind": "SCALAR", "name": "JSONString", @@ -58258,9 +61470,57 @@ "name": "PageCreated", "description": null, "fields": [ + { + "name": "issuedAt", + "description": "Time of the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "version", + "description": "Saleor version that triggered the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issuingPrincipal", + "description": "The user or application that triggered the event.", + "args": [], + "type": { + "kind": "UNION", + "name": "IssuingPrincipal", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "recipient", + "description": "The application receiving the webhook.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "App", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "page", - "description": "Look up a page.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", + "description": "The page the event relates to.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", "args": [], "type": { "kind": "OBJECT", @@ -58272,7 +61532,13 @@ } ], "inputFields": null, - "interfaces": [], + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Event", + "ofType": null + } + ], "enumValues": null, "possibleTypes": null }, @@ -58352,9 +61618,57 @@ "name": "PageDeleted", "description": null, "fields": [ + { + "name": "issuedAt", + "description": "Time of the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "version", + "description": "Saleor version that triggered the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issuingPrincipal", + "description": "The user or application that triggered the event.", + "args": [], + "type": { + "kind": "UNION", + "name": "IssuingPrincipal", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "recipient", + "description": "The application receiving the webhook.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "App", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "page", - "description": "Look up a page.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", + "description": "The page the event relates to.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", "args": [], "type": { "kind": "OBJECT", @@ -58366,7 +61680,13 @@ } ], "inputFields": null, - "interfaces": [], + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Event", + "ofType": null + } + ], "enumValues": null, "possibleTypes": null }, @@ -58696,7 +62016,7 @@ }, { "name": "content", - "description": "Page content in JSON format.", + "description": "Page content.\n\nRich text format. For reference see https://editorjs.io/", "type": { "kind": "SCALAR", "name": "JSONString", @@ -59003,7 +62323,7 @@ }, { "name": "content", - "description": null, + "description": "Content of the page.\n\nRich text format. For reference see https://editorjs.io/", "args": [], "type": { "kind": "SCALAR", @@ -59015,7 +62335,7 @@ }, { "name": "contentJson", - "description": "Content of the page (JSON).", + "description": "Content of the page.\n\nRich text format. For reference see https://editorjs.io/", "args": [], "type": { "kind": "SCALAR", @@ -59248,7 +62568,7 @@ }, { "name": "content", - "description": null, + "description": "Translated content of the page.\n\nRich text format. For reference see https://editorjs.io/", "args": [], "type": { "kind": "SCALAR", @@ -59260,7 +62580,7 @@ }, { "name": "contentJson", - "description": "Translated description of the page (JSON).", + "description": "Translated description of the page.\n\nRich text format. For reference see https://editorjs.io/", "args": [], "type": { "kind": "SCALAR", @@ -59326,7 +62646,7 @@ }, { "name": "content", - "description": null, + "description": "Translated page content.\n\nRich text format. For reference see https://editorjs.io/", "type": { "kind": "SCALAR", "name": "JSONString", @@ -59995,6 +63315,83 @@ "enumValues": null, "possibleTypes": null }, + { + "kind": "OBJECT", + "name": "PageTypeCreated", + "description": null, + "fields": [ + { + "name": "issuedAt", + "description": "Time of the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "version", + "description": "Saleor version that triggered the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issuingPrincipal", + "description": "The user or application that triggered the event.", + "args": [], + "type": { + "kind": "UNION", + "name": "IssuingPrincipal", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "recipient", + "description": "The application receiving the webhook.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "App", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "pageType", + "description": "The page type the event relates to.\n\nAdded in Saleor 3.5.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "PageType", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Event", + "ofType": null + } + ], + "enumValues": null, + "possibleTypes": null + }, { "kind": "OBJECT", "name": "PageTypeDelete", @@ -60066,6 +63463,83 @@ "enumValues": null, "possibleTypes": null }, + { + "kind": "OBJECT", + "name": "PageTypeDeleted", + "description": null, + "fields": [ + { + "name": "issuedAt", + "description": "Time of the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "version", + "description": "Saleor version that triggered the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issuingPrincipal", + "description": "The user or application that triggered the event.", + "args": [], + "type": { + "kind": "UNION", + "name": "IssuingPrincipal", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "recipient", + "description": "The application receiving the webhook.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "App", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "pageType", + "description": "The page type the event relates to.\n\nAdded in Saleor 3.5.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "PageType", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Event", + "ofType": null + } + ], + "enumValues": null, + "possibleTypes": null + }, { "kind": "INPUT_OBJECT", "name": "PageTypeFilterInput", @@ -60372,6 +63846,83 @@ "enumValues": null, "possibleTypes": null }, + { + "kind": "OBJECT", + "name": "PageTypeUpdated", + "description": null, + "fields": [ + { + "name": "issuedAt", + "description": "Time of the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "version", + "description": "Saleor version that triggered the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issuingPrincipal", + "description": "The user or application that triggered the event.", + "args": [], + "type": { + "kind": "UNION", + "name": "IssuingPrincipal", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "recipient", + "description": "The application receiving the webhook.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "App", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "pageType", + "description": "The page type the event relates to.\n\nAdded in Saleor 3.5.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "PageType", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Event", + "ofType": null + } + ], + "enumValues": null, + "possibleTypes": null + }, { "kind": "OBJECT", "name": "PageUpdate", @@ -60448,9 +63999,57 @@ "name": "PageUpdated", "description": null, "fields": [ + { + "name": "issuedAt", + "description": "Time of the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "version", + "description": "Saleor version that triggered the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issuingPrincipal", + "description": "The user or application that triggered the event.", + "args": [], + "type": { + "kind": "UNION", + "name": "IssuingPrincipal", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "recipient", + "description": "The application receiving the webhook.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "App", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "page", - "description": "Look up a page.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", + "description": "The page the event relates to.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", "args": [], "type": { "kind": "OBJECT", @@ -60462,7 +64061,13 @@ } ], "inputFields": null, - "interfaces": [], + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Event", + "ofType": null + } + ], "enumValues": null, "possibleTypes": null }, @@ -62200,6 +65805,12 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "MANAGE_OBSERVABILITY", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "MANAGE_CHANNELS", "description": null, @@ -64065,7 +67676,7 @@ }, { "name": "description", - "description": null, + "description": "Description of the product.\n\nRich text format. For reference see https://editorjs.io/", "args": [], "type": { "kind": "SCALAR", @@ -64217,7 +67828,7 @@ }, { "name": "descriptionJson", - "description": "Description of the product (JSON).", + "description": "Description of the product.\n\nRich text format. For reference see https://editorjs.io/", "args": [], "type": { "kind": "SCALAR", @@ -65834,7 +69445,7 @@ }, { "name": "description", - "description": "Product description (JSON).", + "description": "Product description.\n\nRich text format. For reference see https://editorjs.io/", "type": { "kind": "SCALAR", "name": "JSONString", @@ -65942,9 +69553,57 @@ "name": "ProductCreated", "description": null, "fields": [ + { + "name": "issuedAt", + "description": "Time of the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "version", + "description": "Saleor version that triggered the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issuingPrincipal", + "description": "The user or application that triggered the event.", + "args": [], + "type": { + "kind": "UNION", + "name": "IssuingPrincipal", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "recipient", + "description": "The application receiving the webhook.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "App", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "product", - "description": "Look up a product.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", + "description": "The product the event relates to.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", "args": [ { "name": "channel", @@ -65969,7 +69628,7 @@ }, { "name": "category", - "description": "Look up a category.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", + "description": "The category of the product.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", "args": [], "type": { "kind": "OBJECT", @@ -65981,7 +69640,13 @@ } ], "inputFields": null, - "interfaces": [], + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Event", + "ofType": null + } + ], "enumValues": null, "possibleTypes": null }, @@ -66061,9 +69726,57 @@ "name": "ProductDeleted", "description": null, "fields": [ + { + "name": "issuedAt", + "description": "Time of the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "version", + "description": "Saleor version that triggered the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issuingPrincipal", + "description": "The user or application that triggered the event.", + "args": [], + "type": { + "kind": "UNION", + "name": "IssuingPrincipal", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "recipient", + "description": "The application receiving the webhook.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "App", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "product", - "description": "Look up a product.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", + "description": "The product the event relates to.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", "args": [ { "name": "channel", @@ -66088,7 +69801,7 @@ }, { "name": "category", - "description": "Look up a category.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", + "description": "The category of the product.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", "args": [], "type": { "kind": "OBJECT", @@ -66100,7 +69813,13 @@ } ], "inputFields": null, - "interfaces": [], + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Event", + "ofType": null + } + ], "enumValues": null, "possibleTypes": null }, @@ -66818,7 +70537,7 @@ }, { "name": "description", - "description": "Product description (JSON).", + "description": "Product description.\n\nRich text format. For reference see https://editorjs.io/", "type": { "kind": "SCALAR", "name": "JSONString", @@ -67963,7 +71682,7 @@ }, { "name": "description", - "description": null, + "description": "Description of the product.\n\nRich text format. For reference see https://editorjs.io/", "args": [], "type": { "kind": "SCALAR", @@ -67975,7 +71694,7 @@ }, { "name": "descriptionJson", - "description": "Description of the product (JSON).", + "description": "Description of the product.\n\nRich text format. For reference see https://editorjs.io/", "args": [], "type": { "kind": "SCALAR", @@ -68208,7 +71927,7 @@ }, { "name": "description", - "description": null, + "description": "Translated description of the product.\n\nRich text format. For reference see https://editorjs.io/", "args": [], "type": { "kind": "SCALAR", @@ -68220,7 +71939,7 @@ }, { "name": "descriptionJson", - "description": "Translated description of the product (JSON).", + "description": "Translated description of the product.\n\nRich text format. For reference see https://editorjs.io/", "args": [], "type": { "kind": "SCALAR", @@ -69732,9 +73451,57 @@ "name": "ProductUpdated", "description": null, "fields": [ + { + "name": "issuedAt", + "description": "Time of the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "version", + "description": "Saleor version that triggered the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issuingPrincipal", + "description": "The user or application that triggered the event.", + "args": [], + "type": { + "kind": "UNION", + "name": "IssuingPrincipal", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "recipient", + "description": "The application receiving the webhook.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "App", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "product", - "description": "Look up a product.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", + "description": "The product the event relates to.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", "args": [ { "name": "channel", @@ -69759,7 +73526,7 @@ }, { "name": "category", - "description": "Look up a category.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", + "description": "The category of the product.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", "args": [], "type": { "kind": "OBJECT", @@ -69771,7 +73538,13 @@ } ], "inputFields": null, - "interfaces": [], + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Event", + "ofType": null + } + ], "enumValues": null, "possibleTypes": null }, @@ -70424,9 +74197,57 @@ "name": "ProductVariantBackInStock", "description": null, "fields": [ + { + "name": "issuedAt", + "description": "Time of the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "version", + "description": "Saleor version that triggered the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issuingPrincipal", + "description": "The user or application that triggered the event.", + "args": [], + "type": { + "kind": "UNION", + "name": "IssuingPrincipal", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "recipient", + "description": "The application receiving the webhook.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "App", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "productVariant", - "description": "Look up a product variant.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", + "description": "The product variant the event relates to.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", "args": [ { "name": "channel", @@ -70463,7 +74284,13 @@ } ], "inputFields": null, - "interfaces": [], + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Event", + "ofType": null + } + ], "enumValues": null, "possibleTypes": null }, @@ -71324,9 +75151,57 @@ "name": "ProductVariantCreated", "description": null, "fields": [ + { + "name": "issuedAt", + "description": "Time of the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "version", + "description": "Saleor version that triggered the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issuingPrincipal", + "description": "The user or application that triggered the event.", + "args": [], + "type": { + "kind": "UNION", + "name": "IssuingPrincipal", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "recipient", + "description": "The application receiving the webhook.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "App", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "productVariant", - "description": "Look up a product variant.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", + "description": "The product variant the event relates to.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", "args": [ { "name": "channel", @@ -71351,7 +75226,13 @@ } ], "inputFields": null, - "interfaces": [], + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Event", + "ofType": null + } + ], "enumValues": null, "possibleTypes": null }, @@ -71431,9 +75312,57 @@ "name": "ProductVariantDeleted", "description": null, "fields": [ + { + "name": "issuedAt", + "description": "Time of the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "version", + "description": "Saleor version that triggered the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issuingPrincipal", + "description": "The user or application that triggered the event.", + "args": [], + "type": { + "kind": "UNION", + "name": "IssuingPrincipal", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "recipient", + "description": "The application receiving the webhook.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "App", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "productVariant", - "description": "Look up a product variant.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", + "description": "The product variant the event relates to.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", "args": [ { "name": "channel", @@ -71458,7 +75387,13 @@ } ], "inputFields": null, - "interfaces": [], + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Event", + "ofType": null + } + ], "enumValues": null, "possibleTypes": null }, @@ -71645,9 +75580,57 @@ "name": "ProductVariantOutOfStock", "description": null, "fields": [ + { + "name": "issuedAt", + "description": "Time of the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "version", + "description": "Saleor version that triggered the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issuingPrincipal", + "description": "The user or application that triggered the event.", + "args": [], + "type": { + "kind": "UNION", + "name": "IssuingPrincipal", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "recipient", + "description": "The application receiving the webhook.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "App", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "productVariant", - "description": "Look up a product variant.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", + "description": "The product variant the event relates to.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", "args": [ { "name": "channel", @@ -71684,7 +75667,13 @@ } ], "inputFields": null, - "interfaces": [], + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Event", + "ofType": null + } + ], "enumValues": null, "possibleTypes": null }, @@ -72547,9 +76536,57 @@ "name": "ProductVariantUpdated", "description": null, "fields": [ + { + "name": "issuedAt", + "description": "Time of the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "version", + "description": "Saleor version that triggered the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issuingPrincipal", + "description": "The user or application that triggered the event.", + "args": [], + "type": { + "kind": "UNION", + "name": "IssuingPrincipal", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "recipient", + "description": "The application receiving the webhook.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "App", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "productVariant", - "description": "Look up a product variant.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", + "description": "The product variant the event relates to.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", "args": [ { "name": "channel", @@ -72574,7 +76611,13 @@ } ], "inputFields": null, - "interfaces": [], + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Event", + "ofType": null + } + ], "enumValues": null, "possibleTypes": null }, @@ -74522,7 +78565,7 @@ }, { "name": "order", - "description": "Look up an order by ID.\n\nRequires one of the following permissions: MANAGE_ORDERS.", + "description": "Look up an order by ID.", "args": [ { "name": "id", @@ -75856,9 +79899,21 @@ "name": "checkout", "description": "Look up a checkout by token and slug of channel.", "args": [ + { + "name": "id", + "description": "The checkout's ID.\n\nAdded in Saleor 3.4.", + "type": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "token", - "description": "The checkout's token.", + "description": "The checkout's token.\n\nDEPRECATED: this field will be removed in Saleor 4.0. Use `id` instead.", "type": { "kind": "SCALAR", "name": "UUID", @@ -76240,7 +80295,7 @@ }, { "name": "apps", - "description": "List of the apps.\n\nRequires one of the following permissions: MANAGE_APPS.", + "description": "List of the apps.\n\nRequires one of the following permissions: AUTHENTICATED_STAFF_USER, MANAGE_APPS.", "args": [ { "name": "filter", @@ -76325,7 +80380,7 @@ }, { "name": "app", - "description": "Look up an app by ID. If ID is not provided, return the currently authenticated app. Requires one of the following permissions: OWNER, MANAGE_APPS.", + "description": "Look up an app by ID. If ID is not provided, return the currently authenticated app.\n\nRequires one of the following permissions: AUTHENTICATED_STAFF_USER AUTHENTICATED_APP. The authenticated app has access to its resources. Fetching different apps requires MANAGE_APPS permission.", "args": [ { "name": "id", @@ -78439,9 +82494,57 @@ "name": "SaleCreated", "description": null, "fields": [ + { + "name": "issuedAt", + "description": "Time of the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "version", + "description": "Saleor version that triggered the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issuingPrincipal", + "description": "The user or application that triggered the event.", + "args": [], + "type": { + "kind": "UNION", + "name": "IssuingPrincipal", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "recipient", + "description": "The application receiving the webhook.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "App", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "sale", - "description": "Look up a sale.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", + "description": "The sale the event relates to.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", "args": [ { "name": "channel", @@ -78466,7 +82569,13 @@ } ], "inputFields": null, - "interfaces": [], + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Event", + "ofType": null + } + ], "enumValues": null, "possibleTypes": null }, @@ -78546,9 +82655,57 @@ "name": "SaleDeleted", "description": null, "fields": [ + { + "name": "issuedAt", + "description": "Time of the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "version", + "description": "Saleor version that triggered the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issuingPrincipal", + "description": "The user or application that triggered the event.", + "args": [], + "type": { + "kind": "UNION", + "name": "IssuingPrincipal", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "recipient", + "description": "The application receiving the webhook.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "App", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "sale", - "description": "Look up a sale.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", + "description": "The sale the event relates to.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", "args": [ { "name": "channel", @@ -78573,7 +82730,13 @@ } ], "inputFields": null, - "interfaces": [], + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Event", + "ofType": null + } + ], "enumValues": null, "possibleTypes": null }, @@ -79327,9 +83490,57 @@ "name": "SaleUpdated", "description": null, "fields": [ + { + "name": "issuedAt", + "description": "Time of the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "version", + "description": "Saleor version that triggered the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issuingPrincipal", + "description": "The user or application that triggered the event.", + "args": [], + "type": { + "kind": "UNION", + "name": "IssuingPrincipal", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "recipient", + "description": "The application receiving the webhook.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "App", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "sale", - "description": "Look up a sale.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", + "description": "The sale the event relates to.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", "args": [ { "name": "channel", @@ -79354,7 +83565,13 @@ } ], "inputFields": null, - "interfaces": [], + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Event", + "ofType": null + } + ], "enumValues": null, "possibleTypes": null }, @@ -79924,7 +84141,7 @@ }, { "name": "description", - "description": "Shipping method description (JSON).", + "description": "Shipping method description.\n\nRich text format. For reference see https://editorjs.io/", "args": [], "type": { "kind": "SCALAR", @@ -80474,7 +84691,7 @@ }, { "name": "description", - "description": null, + "description": "Description of the shipping method.\n\nRich text format. For reference see https://editorjs.io/", "args": [], "type": { "kind": "SCALAR", @@ -80588,7 +84805,7 @@ }, { "name": "description", - "description": null, + "description": "Translated description of the shipping method.\n\nRich text format. For reference see https://editorjs.io/", "args": [], "type": { "kind": "SCALAR", @@ -80821,7 +85038,7 @@ }, { "name": "description", - "description": "Shipping method description.", + "description": "Shipping method description.\n\nRich text format. For reference see https://editorjs.io/", "args": [], "type": { "kind": "SCALAR", @@ -81287,9 +85504,57 @@ "name": "ShippingPriceCreated", "description": null, "fields": [ + { + "name": "issuedAt", + "description": "Time of the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "version", + "description": "Saleor version that triggered the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issuingPrincipal", + "description": "The user or application that triggered the event.", + "args": [], + "type": { + "kind": "UNION", + "name": "IssuingPrincipal", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "recipient", + "description": "The application receiving the webhook.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "App", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "shippingMethod", - "description": "Look up a shipping method.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", + "description": "The shipping method the event relates to.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", "args": [ { "name": "channel", @@ -81314,7 +85579,7 @@ }, { "name": "shippingZone", - "description": "Look up a shipping zone.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", + "description": "The shipping zone the shipping method belongs to.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", "args": [ { "name": "channel", @@ -81339,7 +85604,13 @@ } ], "inputFields": null, - "interfaces": [], + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Event", + "ofType": null + } + ], "enumValues": null, "possibleTypes": null }, @@ -81431,9 +85702,57 @@ "name": "ShippingPriceDeleted", "description": null, "fields": [ + { + "name": "issuedAt", + "description": "Time of the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "version", + "description": "Saleor version that triggered the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issuingPrincipal", + "description": "The user or application that triggered the event.", + "args": [], + "type": { + "kind": "UNION", + "name": "IssuingPrincipal", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "recipient", + "description": "The application receiving the webhook.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "App", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "shippingMethod", - "description": "Look up a shipping method.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", + "description": "The shipping method the event relates to.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", "args": [ { "name": "channel", @@ -81458,7 +85777,7 @@ }, { "name": "shippingZone", - "description": "Look up a shipping zone.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", + "description": "The shipping zone the shipping method belongs to.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", "args": [ { "name": "channel", @@ -81483,7 +85802,13 @@ } ], "inputFields": null, - "interfaces": [], + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Event", + "ofType": null + } + ], "enumValues": null, "possibleTypes": null }, @@ -81914,7 +86239,7 @@ }, { "name": "description", - "description": "Translated shipping method description (JSON).", + "description": "Translated shipping method description.\n\nRich text format. For reference see https://editorjs.io/", "type": { "kind": "SCALAR", "name": "JSONString", @@ -82017,9 +86342,57 @@ "name": "ShippingPriceUpdated", "description": null, "fields": [ + { + "name": "issuedAt", + "description": "Time of the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "version", + "description": "Saleor version that triggered the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issuingPrincipal", + "description": "The user or application that triggered the event.", + "args": [], + "type": { + "kind": "UNION", + "name": "IssuingPrincipal", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "recipient", + "description": "The application receiving the webhook.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "App", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "shippingMethod", - "description": "Look up a shipping method.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", + "description": "The shipping method the event relates to.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", "args": [ { "name": "channel", @@ -82044,7 +86417,7 @@ }, { "name": "shippingZone", - "description": "Look up a shipping zone.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", + "description": "The shipping zone the shipping method belongs to.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", "args": [ { "name": "channel", @@ -82069,7 +86442,13 @@ } ], "inputFields": null, - "interfaces": [], + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Event", + "ofType": null + } + ], "enumValues": null, "possibleTypes": null }, @@ -82795,9 +87174,57 @@ "name": "ShippingZoneCreated", "description": null, "fields": [ + { + "name": "issuedAt", + "description": "Time of the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "version", + "description": "Saleor version that triggered the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issuingPrincipal", + "description": "The user or application that triggered the event.", + "args": [], + "type": { + "kind": "UNION", + "name": "IssuingPrincipal", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "recipient", + "description": "The application receiving the webhook.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "App", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "shippingZone", - "description": "Look up a shipping zone.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", + "description": "The shipping zone the event relates to.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", "args": [ { "name": "channel", @@ -82822,7 +87249,13 @@ } ], "inputFields": null, - "interfaces": [], + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Event", + "ofType": null + } + ], "enumValues": null, "possibleTypes": null }, @@ -82902,9 +87335,57 @@ "name": "ShippingZoneDeleted", "description": null, "fields": [ + { + "name": "issuedAt", + "description": "Time of the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "version", + "description": "Saleor version that triggered the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issuingPrincipal", + "description": "The user or application that triggered the event.", + "args": [], + "type": { + "kind": "UNION", + "name": "IssuingPrincipal", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "recipient", + "description": "The application receiving the webhook.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "App", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "shippingZone", - "description": "Look up a shipping zone.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", + "description": "The shipping zone the event relates to.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", "args": [ { "name": "channel", @@ -82929,7 +87410,13 @@ } ], "inputFields": null, - "interfaces": [], + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Event", + "ofType": null + } + ], "enumValues": null, "possibleTypes": null }, @@ -83199,9 +87686,57 @@ "name": "ShippingZoneUpdated", "description": null, "fields": [ + { + "name": "issuedAt", + "description": "Time of the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "version", + "description": "Saleor version that triggered the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issuingPrincipal", + "description": "The user or application that triggered the event.", + "args": [], + "type": { + "kind": "UNION", + "name": "IssuingPrincipal", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "recipient", + "description": "The application receiving the webhook.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "App", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "shippingZone", - "description": "Look up a shipping zone.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", + "description": "The shipping zone the event relates to.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", "args": [ { "name": "channel", @@ -83226,7 +87761,13 @@ } ], "inputFields": null, - "interfaces": [], + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Event", + "ofType": null + } + ], "enumValues": null, "possibleTypes": null }, @@ -86207,7 +90748,7 @@ "description": "Look up subscription event.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", "args": [], "type": { - "kind": "UNION", + "kind": "INTERFACE", "name": "Event", "ofType": null }, @@ -86681,13 +91222,13 @@ { "kind": "ENUM", "name": "TransactionActionEnum", - "description": "Represents possible actions on payment transaction.\n\n The following actions are possible:\n CAPTURE - Represents the capture action.\n REFUND - Represents a refund action.\n VOID - Represents a void action.\n ", + "description": "Represents possible actions on payment transaction.\n\n The following actions are possible:\n CHARGE - Represents the charge action.\n REFUND - Represents a refund action.\n VOID - Represents a void action.\n ", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { - "name": "CAPTURE", + "name": "CHARGE", "description": null, "isDeprecated": false, "deprecationReason": null @@ -86712,6 +91253,54 @@ "name": "TransactionActionRequest", "description": null, "fields": [ + { + "name": "issuedAt", + "description": "Time of the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "version", + "description": "Saleor version that triggered the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issuingPrincipal", + "description": "The user or application that triggered the event.", + "args": [], + "type": { + "kind": "UNION", + "name": "IssuingPrincipal", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "recipient", + "description": "The application receiving the webhook.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "App", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "transaction", "description": "Look up a transaction.\n\nAdded in Saleor 3.4.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", @@ -86742,7 +91331,13 @@ } ], "inputFields": null, - "interfaces": [], + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Event", + "ofType": null + } + ], "enumValues": null, "possibleTypes": null }, @@ -86968,8 +91563,8 @@ "deprecationReason": null }, { - "name": "amountCaptured", - "description": "Amount captured by this transaction.", + "name": "amountCharged", + "description": "Amount charged by this transaction.", "type": { "kind": "INPUT_OBJECT", "name": "MoneyInput", @@ -87490,8 +92085,8 @@ "deprecationReason": null }, { - "name": "capturedAmount", - "description": "Total amount captured for this payment.", + "name": "chargedAmount", + "description": "Total amount charged for this payment.", "args": [], "type": { "kind": "NON_NULL", @@ -88041,8 +92636,8 @@ "deprecationReason": null }, { - "name": "amountCaptured", - "description": "Amount captured by this transaction.", + "name": "amountCharged", + "description": "Amount charged by this transaction.", "type": { "kind": "INPUT_OBJECT", "name": "MoneyInput", @@ -88375,9 +92970,57 @@ "name": "TranslationCreated", "description": null, "fields": [ + { + "name": "issuedAt", + "description": "Time of the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "version", + "description": "Saleor version that triggered the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issuingPrincipal", + "description": "The user or application that triggered the event.", + "args": [], + "type": { + "kind": "UNION", + "name": "IssuingPrincipal", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "recipient", + "description": "The application receiving the webhook.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "App", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "translation", - "description": "Look up a translation.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", + "description": "The translation the event relates to.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", "args": [], "type": { "kind": "UNION", @@ -88389,7 +93032,13 @@ } ], "inputFields": null, - "interfaces": [], + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Event", + "ofType": null + } + ], "enumValues": null, "possibleTypes": null }, @@ -88523,7 +93172,7 @@ }, { "name": "description", - "description": null, + "description": "Translated description.\n\nRich text format. For reference see https://editorjs.io/", "type": { "kind": "SCALAR", "name": "JSONString", @@ -88609,9 +93258,57 @@ "name": "TranslationUpdated", "description": null, "fields": [ + { + "name": "issuedAt", + "description": "Time of the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "version", + "description": "Saleor version that triggered the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issuingPrincipal", + "description": "The user or application that triggered the event.", + "args": [], + "type": { + "kind": "UNION", + "name": "IssuingPrincipal", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "recipient", + "description": "The application receiving the webhook.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "App", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "translation", - "description": "Look up a translation.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", + "description": "The translation the event relates to.\n\nAdded in Saleor 3.2.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", "args": [], "type": { "kind": "UNION", @@ -88623,7 +93320,13 @@ } ], "inputFields": null, - "interfaces": [], + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Event", + "ofType": null + } + ], "enumValues": null, "possibleTypes": null }, @@ -89227,6 +93930,39 @@ } } }, + "isDeprecated": true, + "deprecationReason": "This field will be removed in Saleor 4.0. Use `checkoutIds` instead." + }, + { + "name": "checkoutIds", + "description": "Returns the checkout ID's assigned to this user.", + "args": [ + { + "name": "channel", + "description": "Slug of a channel for which the data should be returned.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + } + } + }, "isDeprecated": false, "deprecationReason": null }, @@ -92085,9 +96821,57 @@ "name": "VoucherCreated", "description": null, "fields": [ + { + "name": "issuedAt", + "description": "Time of the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "version", + "description": "Saleor version that triggered the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issuingPrincipal", + "description": "The user or application that triggered the event.", + "args": [], + "type": { + "kind": "UNION", + "name": "IssuingPrincipal", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "recipient", + "description": "The application receiving the webhook.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "App", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "voucher", - "description": "Look up a voucher.\n\nAdded in Saleor 3.4.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", + "description": "The voucher the event relates to.\n\nAdded in Saleor 3.4.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", "args": [ { "name": "channel", @@ -92112,7 +96896,13 @@ } ], "inputFields": null, - "interfaces": [], + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Event", + "ofType": null + } + ], "enumValues": null, "possibleTypes": null }, @@ -92192,9 +96982,57 @@ "name": "VoucherDeleted", "description": null, "fields": [ + { + "name": "issuedAt", + "description": "Time of the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "version", + "description": "Saleor version that triggered the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issuingPrincipal", + "description": "The user or application that triggered the event.", + "args": [], + "type": { + "kind": "UNION", + "name": "IssuingPrincipal", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "recipient", + "description": "The application receiving the webhook.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "App", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "voucher", - "description": "Look up a voucher.\n\nAdded in Saleor 3.4.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", + "description": "The voucher the event relates to.\n\nAdded in Saleor 3.4.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", "args": [ { "name": "channel", @@ -92219,7 +97057,13 @@ } ], "inputFields": null, - "interfaces": [], + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Event", + "ofType": null + } + ], "enumValues": null, "possibleTypes": null }, @@ -93104,9 +97948,57 @@ "name": "VoucherUpdated", "description": null, "fields": [ + { + "name": "issuedAt", + "description": "Time of the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "version", + "description": "Saleor version that triggered the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issuingPrincipal", + "description": "The user or application that triggered the event.", + "args": [], + "type": { + "kind": "UNION", + "name": "IssuingPrincipal", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "recipient", + "description": "The application receiving the webhook.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "App", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "voucher", - "description": "Look up a voucher.\n\nAdded in Saleor 3.4.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", + "description": "The voucher the event relates to.\n\nAdded in Saleor 3.4.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", "args": [ { "name": "channel", @@ -93131,7 +98023,13 @@ } ], "inputFields": null, - "interfaces": [], + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Event", + "ofType": null + } + ], "enumValues": null, "possibleTypes": null }, @@ -93815,6 +98713,83 @@ "enumValues": null, "possibleTypes": null }, + { + "kind": "OBJECT", + "name": "WarehouseCreated", + "description": null, + "fields": [ + { + "name": "issuedAt", + "description": "Time of the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "version", + "description": "Saleor version that triggered the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issuingPrincipal", + "description": "The user or application that triggered the event.", + "args": [], + "type": { + "kind": "UNION", + "name": "IssuingPrincipal", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "recipient", + "description": "The application receiving the webhook.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "App", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "warehouse", + "description": "The warehouse the event relates to.\n\nAdded in Saleor 3.4.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "Warehouse", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Event", + "ofType": null + } + ], + "enumValues": null, + "possibleTypes": null + }, { "kind": "OBJECT", "name": "WarehouseDelete", @@ -93886,6 +98861,83 @@ "enumValues": null, "possibleTypes": null }, + { + "kind": "OBJECT", + "name": "WarehouseDeleted", + "description": null, + "fields": [ + { + "name": "issuedAt", + "description": "Time of the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "version", + "description": "Saleor version that triggered the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issuingPrincipal", + "description": "The user or application that triggered the event.", + "args": [], + "type": { + "kind": "UNION", + "name": "IssuingPrincipal", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "recipient", + "description": "The application receiving the webhook.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "App", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "warehouse", + "description": "The warehouse the event relates to.\n\nAdded in Saleor 3.4.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "Warehouse", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Event", + "ofType": null + } + ], + "enumValues": null, + "possibleTypes": null + }, { "kind": "OBJECT", "name": "WarehouseError", @@ -94407,6 +99459,83 @@ "enumValues": null, "possibleTypes": null }, + { + "kind": "OBJECT", + "name": "WarehouseUpdated", + "description": null, + "fields": [ + { + "name": "issuedAt", + "description": "Time of the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "version", + "description": "Saleor version that triggered the event.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issuingPrincipal", + "description": "The user or application that triggered the event.", + "args": [], + "type": { + "kind": "UNION", + "name": "IssuingPrincipal", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "recipient", + "description": "The application receiving the webhook.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "App", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "warehouse", + "description": "The warehouse the event relates to.\n\nAdded in Saleor 3.4.\n\nNote: this API is currently in Feature Preview and can be subject to changes at later point.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "Warehouse", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Event", + "ofType": null + } + ], + "enumValues": null, + "possibleTypes": null + }, { "kind": "OBJECT", "name": "Webhook", @@ -95205,6 +100334,48 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "ADDRESS_CREATED", + "description": "A new address created.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ADDRESS_UPDATED", + "description": "An address updated.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ADDRESS_DELETED", + "description": "An address deleted.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "APP_INSTALLED", + "description": "A new app installed.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "APP_UPDATED", + "description": "An app updated.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "APP_DELETED", + "description": "An app deleted.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "APP_STATUS_CHANGED", + "description": "An app status is changed.", + "isDeprecated": false, + "deprecationReason": null + }, { "name": "CATEGORY_CREATED", "description": "A new category created.", @@ -95523,6 +100694,24 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "PAGE_TYPE_CREATED", + "description": "A new page type is created.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PAGE_TYPE_UPDATED", + "description": "A page type is updated.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PAGE_TYPE_DELETED", + "description": "A page type is deleted.", + "isDeprecated": false, + "deprecationReason": null + }, { "name": "SHIPPING_PRICE_CREATED", "description": "A new shipping price is created.", @@ -95577,6 +100766,24 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "WAREHOUSE_CREATED", + "description": "A new warehouse created.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "WAREHOUSE_UPDATED", + "description": "A warehouse is updated.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "WAREHOUSE_DELETED", + "description": "A warehouse is deleted.", + "isDeprecated": false, + "deprecationReason": null + }, { "name": "VOUCHER_CREATED", "description": "A new voucher created.", @@ -95594,6 +100801,12 @@ "description": "A voucher is deleted.", "isDeprecated": false, "deprecationReason": null + }, + { + "name": "OBSERVABILITY", + "description": "An observability event is created.", + "isDeprecated": false, + "deprecationReason": null } ], "possibleTypes": null @@ -95612,6 +100825,48 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "ADDRESS_CREATED", + "description": "A new address created.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ADDRESS_UPDATED", + "description": "An address updated.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ADDRESS_DELETED", + "description": "An address deleted.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "APP_INSTALLED", + "description": "A new app installed.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "APP_UPDATED", + "description": "An app updated.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "APP_DELETED", + "description": "An app deleted.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "APP_STATUS_CHANGED", + "description": "An app status is changed.", + "isDeprecated": false, + "deprecationReason": null + }, { "name": "CATEGORY_CREATED", "description": "A new category created.", @@ -95930,6 +101185,24 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "PAGE_TYPE_CREATED", + "description": "A new page type is created.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PAGE_TYPE_UPDATED", + "description": "A page type is updated.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PAGE_TYPE_DELETED", + "description": "A page type is deleted.", + "isDeprecated": false, + "deprecationReason": null + }, { "name": "SHIPPING_PRICE_CREATED", "description": "A new shipping price is created.", @@ -95984,6 +101257,24 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "WAREHOUSE_CREATED", + "description": "A new warehouse created.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "WAREHOUSE_UPDATED", + "description": "A warehouse is updated.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "WAREHOUSE_DELETED", + "description": "A warehouse is deleted.", + "isDeprecated": false, + "deprecationReason": null + }, { "name": "VOUCHER_CREATED", "description": "A new voucher created.", @@ -96002,6 +101293,12 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "OBSERVABILITY", + "description": "An observability event is created.", + "isDeprecated": false, + "deprecationReason": null + }, { "name": "PAYMENT_AUTHORIZE", "description": null, @@ -96144,6 +101441,48 @@ "inputFields": null, "interfaces": null, "enumValues": [ + { + "name": "ADDRESS_CREATED", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ADDRESS_UPDATED", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ADDRESS_DELETED", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "APP_INSTALLED", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "APP_UPDATED", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "APP_DELETED", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "APP_STATUS_CHANGED", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "CATEGORY_CREATED", "description": null, @@ -96462,6 +101801,24 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "PAGE_TYPE_CREATED", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PAGE_TYPE_UPDATED", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PAGE_TYPE_DELETED", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "SHIPPING_PRICE_CREATED", "description": null, @@ -96516,6 +101873,24 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "WAREHOUSE_CREATED", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "WAREHOUSE_UPDATED", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "WAREHOUSE_DELETED", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "VOUCHER_CREATED", "description": null, @@ -96533,6 +101908,12 @@ "description": null, "isDeprecated": false, "deprecationReason": null + }, + { + "name": "OBSERVABILITY", + "description": null, + "isDeprecated": false, + "deprecationReason": null } ], "possibleTypes": null diff --git a/schema.graphql b/schema.graphql index 4197251e3..61be0ae6c 100644 --- a/schema.graphql +++ b/schema.graphql @@ -221,6 +221,29 @@ type AddressCreate { address: Address } +type AddressCreated implements Event { + """Time of the event.""" + issuedAt: DateTime + + """Saleor version that triggered the event.""" + version: String + + """The user or application that triggered the event.""" + issuingPrincipal: IssuingPrincipal + + """The application receiving the webhook.""" + recipient: App + + """ + The address the event relates to. + + Added in Saleor 3.5. + + Note: this API is currently in Feature Preview and can be subject to changes at later point. + """ + address: Address +} + """ Deletes an address. @@ -234,6 +257,29 @@ type AddressDelete { address: Address } +type AddressDeleted implements Event { + """Time of the event.""" + issuedAt: DateTime + + """Saleor version that triggered the event.""" + version: String + + """The user or application that triggered the event.""" + issuingPrincipal: IssuingPrincipal + + """The application receiving the webhook.""" + recipient: App + + """ + The address the event relates to. + + Added in Saleor 3.5. + + Note: this API is currently in Feature Preview and can be subject to changes at later point. + """ + address: Address +} + input AddressInput { """Given name.""" firstName: String @@ -300,6 +346,29 @@ type AddressUpdate { address: Address } +type AddressUpdated implements Event { + """Time of the event.""" + issuedAt: DateTime + + """Saleor version that triggered the event.""" + version: String + + """The user or application that triggered the event.""" + issuingPrincipal: IssuingPrincipal + + """The application receiving the webhook.""" + recipient: App + + """ + The address the event relates to. + + Added in Saleor 3.5. + + Note: this API is currently in Feature Preview and can be subject to changes at later point. + """ + address: Address +} + type AddressValidationData { countryCode: String! countryName: String! @@ -404,10 +473,18 @@ type App implements Node & ObjectWithMetadata { """Type of the app.""" type: AppTypeEnum - """Last 4 characters of the tokens.""" + """ + Last 4 characters of the tokens. + + Requires one of the following permissions: MANAGE_APPS, OWNER. + """ tokens: [AppToken!] - """List of webhooks assigned to this app.""" + """ + List of webhooks assigned to this app. + + Requires one of the following permissions: MANAGE_APPS, OWNER. + """ webhooks: [Webhook!] """Description of this app.""" @@ -519,6 +596,29 @@ type AppDeleteFailedInstallation { appInstallation: AppInstallation } +type AppDeleted implements Event { + """Time of the event.""" + issuedAt: DateTime + + """Saleor version that triggered the event.""" + version: String + + """The user or application that triggered the event.""" + issuingPrincipal: IssuingPrincipal + + """The application receiving the webhook.""" + recipient: App + + """ + The application the event relates to. + + Added in Saleor 3.4. + + Note: this API is currently in Feature Preview and can be subject to changes at later point. + """ + app: App +} + type AppError { """ Name of a field that caused the error. A value of `null` indicates that the error isn't associated with a particular field. @@ -693,6 +793,29 @@ type AppInstallation implements Node & Job { manifestUrl: String! } +type AppInstalled implements Event { + """Time of the event.""" + issuedAt: DateTime + + """Saleor version that triggered the event.""" + version: String + + """The user or application that triggered the event.""" + issuingPrincipal: IssuingPrincipal + + """The application receiving the webhook.""" + recipient: App + + """ + The application the event relates to. + + Added in Saleor 3.4. + + Note: this API is currently in Feature Preview and can be subject to changes at later point. + """ + app: App +} + type AppManifestExtension { """List of the app extension's permissions.""" permissions: [Permission!]! @@ -737,6 +860,29 @@ input AppSortingInput { field: AppSortField! } +type AppStatusChanged implements Event { + """Time of the event.""" + issuedAt: DateTime + + """Saleor version that triggered the event.""" + version: String + + """The user or application that triggered the event.""" + issuingPrincipal: IssuingPrincipal + + """The application receiving the webhook.""" + recipient: App + + """ + The application the event relates to. + + Added in Saleor 3.4. + + Note: this API is currently in Feature Preview and can be subject to changes at later point. + """ + app: App +} + """Represents token data.""" type AppToken implements Node { id: ID! @@ -812,6 +958,29 @@ type AppUpdate { app: App } +type AppUpdated implements Event { + """Time of the event.""" + issuedAt: DateTime + + """Saleor version that triggered the event.""" + version: String + + """The user or application that triggered the event.""" + issuingPrincipal: IssuingPrincipal + + """The application receiving the webhook.""" + recipient: App + + """ + The application the event relates to. + + Added in Saleor 3.4. + + Note: this API is currently in Feature Preview and can be subject to changes at later point. + """ + app: App +} + """An enumeration.""" enum AreaUnitsEnum { SQ_CM @@ -1196,6 +1365,7 @@ enum AttributeInputTypeEnum { REFERENCE NUMERIC RICH_TEXT + PLAIN_TEXT SWATCH BOOLEAN DATE @@ -1373,9 +1543,18 @@ type AttributeValue implements Node { """Represents file URL and content type (if attribute value is a file).""" file: File - """Represents the text (JSON) of the attribute value.""" + """ + Represents the text of the attribute value, includes formatting. + + Rich text format. For reference see https://editorjs.io/ + """ richText: JSONString + """ + Represents the text of the attribute value, plain text without formating. + """ + plainText: String + """Represents the boolean value of the attribute value.""" boolean: Boolean @@ -1434,9 +1613,18 @@ input AttributeValueCreateInput { """ value: String - """Represents the text (JSON) of the attribute value.""" + """ + Represents the text of the attribute value, includes formatting. + + Rich text format. For reference see https://editorjs.io/ + """ richText: JSONString + """ + Represents the text of the attribute value, plain text without formating. + """ + plainText: String + """URL of the file attribute. Every time, a new value is created.""" fileUrl: String @@ -1486,6 +1674,9 @@ input AttributeValueInput { """Text content in JSON format.""" richText: JSONString + """Plain text content.""" + plainText: String + """Represents the boolean value of the attribute value.""" boolean: Boolean @@ -1499,8 +1690,17 @@ input AttributeValueInput { type AttributeValueTranslatableContent implements Node { id: ID! name: String! + + """ + Attribute value. + + Rich text format. For reference see https://editorjs.io/ + """ richText: JSONString + """Attribute plain text value.""" + plainText: String + """Returns translated attribute value fields for the given language code.""" translation( """A language code to return the translation for attribute value.""" @@ -1528,12 +1728,30 @@ type AttributeValueTranslation implements Node { """Translation language.""" language: LanguageDisplay! name: String! + + """ + Attribute value. + + Rich text format. For reference see https://editorjs.io/ + """ richText: JSONString + + """Attribute plain text value.""" + plainText: String } input AttributeValueTranslationInput { name: String + + """ + Translated text. + + Rich text format. For reference see https://editorjs.io/ + """ richText: JSONString + + """Translated text.""" + plainText: String } """ @@ -1555,9 +1773,18 @@ input AttributeValueUpdateInput { """ value: String - """Represents the text (JSON) of the attribute value.""" + """ + Represents the text of the attribute value, includes formatting. + + Rich text format. For reference see https://editorjs.io/ + """ richText: JSONString + """ + Represents the text of the attribute value, plain text without formating. + """ + plainText: String + """URL of the file attribute. Every time, a new value is created.""" fileUrl: String @@ -1718,12 +1945,22 @@ type Category implements Node & ObjectWithMetadata { seoTitle: String seoDescription: String name: String! + + """ + Description of the category. + + Rich text format. For reference see https://editorjs.io/ + """ description: JSONString slug: String! parent: Category level: Int! - """Description of the category (JSON).""" + """ + Description of the category. + + Rich text format. For reference see https://editorjs.io/ + """ descriptionJson: JSONString @deprecated(reason: "This field will be removed in Saleor 4.0. Use the `description` field instead.") """List of ancestors of the category.""" @@ -1827,9 +2064,21 @@ type CategoryCreate { category: Category } -type CategoryCreated { +type CategoryCreated implements Event { + """Time of the event.""" + issuedAt: DateTime + + """Saleor version that triggered the event.""" + version: String + + """The user or application that triggered the event.""" + issuingPrincipal: IssuingPrincipal + + """The application receiving the webhook.""" + recipient: App + """ - Look up a category. + The category the event relates to. Added in Saleor 3.2. @@ -1849,9 +2098,21 @@ type CategoryDelete { category: Category } -type CategoryDeleted { +type CategoryDeleted implements Event { + """Time of the event.""" + issuedAt: DateTime + + """Saleor version that triggered the event.""" + version: String + + """The user or application that triggered the event.""" + issuingPrincipal: IssuingPrincipal + + """The application receiving the webhook.""" + recipient: App + """ - Look up a category. + The category the event relates to. Added in Saleor 3.2. @@ -1867,7 +2128,11 @@ input CategoryFilterInput { } input CategoryInput { - """Category description (JSON).""" + """ + Category description. + + Rich text format. For reference see https://editorjs.io/ + """ description: JSONString """Category name.""" @@ -1917,9 +2182,19 @@ type CategoryTranslatableContent implements Node { seoTitle: String seoDescription: String name: String! + + """ + Description of the category. + + Rich text format. For reference see https://editorjs.io/ + """ description: JSONString - """Description of the category (JSON).""" + """ + Description of the category. + + Rich text format. For reference see https://editorjs.io/ + """ descriptionJson: JSONString @deprecated(reason: "This field will be removed in Saleor 4.0. Use the `description` field instead.") """Returns translated category fields for the given language code.""" @@ -1951,9 +2226,19 @@ type CategoryTranslation implements Node { seoTitle: String seoDescription: String name: String + + """ + Translated description of the category. + + Rich text format. For reference see https://editorjs.io/ + """ description: JSONString - """Translated description of the product (JSON).""" + """ + Translated description of the category. + + Rich text format. For reference see https://editorjs.io/ + """ descriptionJson: JSONString @deprecated(reason: "This field will be removed in Saleor 4.0. Use the `description` field instead.") } @@ -1968,9 +2253,21 @@ type CategoryUpdate { category: Category } -type CategoryUpdated { +type CategoryUpdated implements Event { + """Time of the event.""" + issuedAt: DateTime + + """Saleor version that triggered the event.""" + version: String + + """The user or application that triggered the event.""" + issuingPrincipal: IssuingPrincipal + + """The application receiving the webhook.""" + recipient: App + """ - Look up a category. + The category the event relates to. Added in Saleor 3.2. @@ -2049,9 +2346,21 @@ input ChannelCreateInput { addShippingZones: [ID!] } -type ChannelCreated { +type ChannelCreated implements Event { + """Time of the event.""" + issuedAt: DateTime + + """Saleor version that triggered the event.""" + version: String + + """The user or application that triggered the event.""" + issuingPrincipal: IssuingPrincipal + + """The application receiving the webhook.""" + recipient: App + """ - Look up a channel. + The channel the event relates to. Added in Saleor 3.2. @@ -2088,9 +2397,21 @@ input ChannelDeleteInput { channelId: ID! } -type ChannelDeleted { +type ChannelDeleted implements Event { + """Time of the event.""" + issuedAt: DateTime + + """Saleor version that triggered the event.""" + version: String + + """The user or application that triggered the event.""" + issuingPrincipal: IssuingPrincipal + + """The application receiving the webhook.""" + recipient: App + """ - Look up a channel. + The channel the event relates to. Added in Saleor 3.2. @@ -2128,9 +2449,21 @@ enum ChannelErrorCode { DUPLICATED_INPUT_ITEM } -type ChannelStatusChanged { +type ChannelStatusChanged implements Event { + """Time of the event.""" + issuedAt: DateTime + + """Saleor version that triggered the event.""" + version: String + + """The user or application that triggered the event.""" + issuingPrincipal: IssuingPrincipal + + """The application receiving the webhook.""" + recipient: App + """ - Look up a channel. + The channel the event relates to. Added in Saleor 3.2. @@ -2174,9 +2507,21 @@ input ChannelUpdateInput { removeShippingZones: [ID!] } -type ChannelUpdated { +type ChannelUpdated implements Event { + """Time of the event.""" + issuedAt: DateTime + + """Saleor version that triggered the event.""" + version: String + + """The user or application that triggered the event.""" + issuingPrincipal: IssuingPrincipal + + """The application receiving the webhook.""" + recipient: App + """ - Look up a channel. + The channel the event relates to. Added in Saleor 3.2. @@ -2413,9 +2758,21 @@ input CheckoutCreateInput { languageCode: LanguageCodeEnum } -type CheckoutCreated { +type CheckoutCreated implements Event { + """Time of the event.""" + issuedAt: DateTime + + """Saleor version that triggered the event.""" + version: String + + """The user or application that triggered the event.""" + issuingPrincipal: IssuingPrincipal + + """The application receiving the webhook.""" + recipient: App + """ - Look up a Checkout. + The checkout the event relates to. Added in Saleor 3.2. @@ -2544,9 +2901,18 @@ type CheckoutLine implements Node { variant: ProductVariant! quantity: Int! + """The unit price of the checkout line, with taxes and discounts.""" + unitPrice: TaxedMoney! + + """The unit price of the checkout line, without discounts.""" + undiscountedUnitPrice: Money! + """The sum of the checkout line price, taxes and discounts.""" totalPrice: TaxedMoney! + """The sum of the checkout line price, without discounts.""" + undiscountedTotalPrice: Money! + """Indicates whether the item need to be delivered.""" requiresShipping: Boolean! } @@ -2691,9 +3057,21 @@ input CheckoutSortingInput { field: CheckoutSortField! } -type CheckoutUpdated { +type CheckoutUpdated implements Event { + """Time of the event.""" + issuedAt: DateTime + + """Saleor version that triggered the event.""" + version: String + + """The user or application that triggered the event.""" + issuingPrincipal: IssuingPrincipal + + """The application receiving the webhook.""" + recipient: App + """ - Look up a Checkout. + The checkout the event relates to. Added in Saleor 3.2. @@ -2759,6 +3137,12 @@ type Collection implements Node & ObjectWithMetadata { seoTitle: String seoDescription: String name: String! + + """ + Description of the collection. + + Rich text format. For reference see https://editorjs.io/ + """ description: JSONString slug: String! @@ -2767,7 +3151,11 @@ type Collection implements Node & ObjectWithMetadata { """ channel: String - """Description of the collection (JSON).""" + """ + Description of the collection. + + Rich text format. For reference see https://editorjs.io/ + """ descriptionJson: JSONString @deprecated(reason: "This field will be removed in Saleor 4.0. Use the `description` field instead.") """List of products in this collection.""" @@ -2928,7 +3316,11 @@ input CollectionCreateInput { """Slug of the collection.""" slug: String - """Description of the collection (JSON).""" + """ + Description of the collection. + + Rich text format. For reference see https://editorjs.io/ + """ description: JSONString """Background image file.""" @@ -2951,9 +3343,21 @@ input CollectionCreateInput { products: [ID!] } -type CollectionCreated { +type CollectionCreated implements Event { + """Time of the event.""" + issuedAt: DateTime + + """Saleor version that triggered the event.""" + version: String + + """The user or application that triggered the event.""" + issuingPrincipal: IssuingPrincipal + + """The application receiving the webhook.""" + recipient: App + """ - Look up a collection. + The collection the event relates to. Added in Saleor 3.2. @@ -2976,9 +3380,21 @@ type CollectionDelete { collection: Collection } -type CollectionDeleted { +type CollectionDeleted implements Event { + """Time of the event.""" + issuedAt: DateTime + + """Saleor version that triggered the event.""" + version: String + + """The user or application that triggered the event.""" + issuingPrincipal: IssuingPrincipal + + """The application receiving the webhook.""" + recipient: App + """ - Look up a collection. + The collection the event relates to. Added in Saleor 3.2. @@ -3041,7 +3457,11 @@ input CollectionInput { """Slug of the collection.""" slug: String - """Description of the collection (JSON).""" + """ + Description of the collection. + + Rich text format. For reference see https://editorjs.io/ + """ description: JSONString """Background image file.""" @@ -3139,9 +3559,19 @@ type CollectionTranslatableContent implements Node { seoTitle: String seoDescription: String name: String! + + """ + Description of the collection. + + Rich text format. For reference see https://editorjs.io/ + """ description: JSONString - """Description of the collection (JSON).""" + """ + Description of the collection. + + Rich text format. For reference see https://editorjs.io/ + """ descriptionJson: JSONString @deprecated(reason: "This field will be removed in Saleor 4.0. Use the `description` field instead.") """Returns translated collection fields for the given language code.""" @@ -3173,9 +3603,19 @@ type CollectionTranslation implements Node { seoTitle: String seoDescription: String name: String + + """ + Translated description of the collection. + + Rich text format. For reference see https://editorjs.io/ + """ description: JSONString - """Translated description of the product (JSON).""" + """ + Translated description of the collection. + + Rich text format. For reference see https://editorjs.io/ + """ descriptionJson: JSONString @deprecated(reason: "This field will be removed in Saleor 4.0. Use the `description` field instead.") } @@ -3190,9 +3630,21 @@ type CollectionUpdate { collection: Collection } -type CollectionUpdated { +type CollectionUpdated implements Event { + """Time of the event.""" + issuedAt: DateTime + + """Saleor version that triggered the event.""" + version: String + + """The user or application that triggered the event.""" + issuingPrincipal: IssuingPrincipal + + """The application receiving the webhook.""" + recipient: App + """ - Look up a collection. + The collection the event relates to. Added in Saleor 3.2. @@ -3590,9 +4042,21 @@ type CustomerCreate { user: User } -type CustomerCreated { +type CustomerCreated implements Event { + """Time of the event.""" + issuedAt: DateTime + + """Saleor version that triggered the event.""" + version: String + + """The user or application that triggered the event.""" + issuingPrincipal: IssuingPrincipal + + """The application receiving the webhook.""" + recipient: App + """ - Look up a user. + The user the event relates to. Added in Saleor 3.2. @@ -3704,9 +4168,21 @@ type CustomerUpdate { user: User } -type CustomerUpdated { +type CustomerUpdated implements Event { + """Time of the event.""" + issuedAt: DateTime + + """Saleor version that triggered the event.""" + version: String + + """The user or application that triggered the event.""" + issuingPrincipal: IssuingPrincipal + + """The application receiving the webhook.""" + recipient: App + """ - Look up a user. + The user the event relates to. Added in Saleor 3.2. @@ -4099,9 +4575,21 @@ input DraftOrderCreateInput { lines: [OrderLineCreateInput!] } -type DraftOrderCreated { +type DraftOrderCreated implements Event { + """Time of the event.""" + issuedAt: DateTime + + """Saleor version that triggered the event.""" + version: String + + """The user or application that triggered the event.""" + issuingPrincipal: IssuingPrincipal + + """The application receiving the webhook.""" + recipient: App + """ - Look up an order. + The order the event relates to. Added in Saleor 3.2. @@ -4121,9 +4609,21 @@ type DraftOrderDelete { order: Order } -type DraftOrderDeleted { +type DraftOrderDeleted implements Event { + """Time of the event.""" + issuedAt: DateTime + + """Saleor version that triggered the event.""" + version: String + + """The user or application that triggered the event.""" + issuingPrincipal: IssuingPrincipal + + """The application receiving the webhook.""" + recipient: App + """ - Look up an order. + The order the event relates to. Added in Saleor 3.2. @@ -4189,9 +4689,21 @@ type DraftOrderUpdate { order: Order } -type DraftOrderUpdated { +type DraftOrderUpdated implements Event { + """Time of the event.""" + issuedAt: DateTime + + """Saleor version that triggered the event.""" + version: String + + """The user or application that triggered the event.""" + issuingPrincipal: IssuingPrincipal + + """The application receiving the webhook.""" + recipient: App + """ - Look up an order. + The order the event relates to. Added in Saleor 3.2. @@ -4200,7 +4712,19 @@ type DraftOrderUpdated { order: Order } -union Event = CategoryCreated | CategoryUpdated | CategoryDeleted | ChannelCreated | ChannelUpdated | ChannelDeleted | ChannelStatusChanged | GiftCardCreated | GiftCardUpdated | GiftCardDeleted | GiftCardStatusChanged | MenuCreated | MenuUpdated | MenuDeleted | MenuItemCreated | MenuItemUpdated | MenuItemDeleted | OrderCreated | OrderUpdated | OrderConfirmed | OrderFullyPaid | OrderCancelled | OrderFulfilled | DraftOrderCreated | DraftOrderUpdated | DraftOrderDeleted | ProductCreated | ProductUpdated | ProductDeleted | ProductVariantCreated | ProductVariantUpdated | ProductVariantOutOfStock | ProductVariantBackInStock | ProductVariantDeleted | SaleCreated | SaleUpdated | SaleDeleted | InvoiceRequested | InvoiceDeleted | InvoiceSent | FulfillmentCreated | FulfillmentCanceled | CustomerCreated | CustomerUpdated | CollectionCreated | CollectionUpdated | CollectionDeleted | CheckoutCreated | CheckoutUpdated | PageCreated | PageUpdated | PageDeleted | ShippingPriceCreated | ShippingPriceUpdated | ShippingPriceDeleted | ShippingZoneCreated | ShippingZoneUpdated | ShippingZoneDeleted | TransactionActionRequest | TranslationCreated | TranslationUpdated | VoucherCreated | VoucherUpdated | VoucherDeleted +interface Event { + """Time of the event.""" + issuedAt: DateTime + + """Saleor version that triggered the event.""" + version: String + + """The user or application that triggered the event.""" + issuingPrincipal: IssuingPrincipal + + """The application receiving the webhook.""" + recipient: App +} """Event delivery.""" type EventDelivery implements Node { @@ -4801,26 +5325,68 @@ input FulfillmentCancelInput { warehouseId: ID } -type FulfillmentCanceled { +type FulfillmentCanceled implements Event { + """Time of the event.""" + issuedAt: DateTime + + """Saleor version that triggered the event.""" + version: String + + """The user or application that triggered the event.""" + issuingPrincipal: IssuingPrincipal + + """The application receiving the webhook.""" + recipient: App + """ - Look up a Fulfillment. + The fulfillment the event relates to. Added in Saleor 3.2. Note: this API is currently in Feature Preview and can be subject to changes at later point. """ fulfillment: Fulfillment + + """ + The order the fulfillment belongs to. + + Added in Saleor 3.4. + + Note: this API is currently in Feature Preview and can be subject to changes at later point. + """ + order: Order } -type FulfillmentCreated { +type FulfillmentCreated implements Event { + """Time of the event.""" + issuedAt: DateTime + + """Saleor version that triggered the event.""" + version: String + + """The user or application that triggered the event.""" + issuingPrincipal: IssuingPrincipal + + """The application receiving the webhook.""" + recipient: App + """ - Look up a Fulfillment. + The fulfillment the event relates to. Added in Saleor 3.2. Note: this API is currently in Feature Preview and can be subject to changes at later point. """ fulfillment: Fulfillment + + """ + The order the fulfillment belongs to. + + Added in Saleor 3.4. + + Note: this API is currently in Feature Preview and can be subject to changes at later point. + """ + order: Order } """Represents line of the fulfillment.""" @@ -5304,9 +5870,21 @@ input GiftCardCreateInput { note: String } -type GiftCardCreated { +type GiftCardCreated implements Event { + """Time of the event.""" + issuedAt: DateTime + + """Saleor version that triggered the event.""" + version: String + + """The user or application that triggered the event.""" + issuingPrincipal: IssuingPrincipal + + """The application receiving the webhook.""" + recipient: App + """ - Look up a gift card. + The gift card the event relates to. Added in Saleor 3.2. @@ -5342,9 +5920,21 @@ type GiftCardDelete { giftCard: GiftCard } -type GiftCardDeleted { +type GiftCardDeleted implements Event { + """Time of the event.""" + issuedAt: DateTime + + """Saleor version that triggered the event.""" + version: String + + """The user or application that triggered the event.""" + issuingPrincipal: IssuingPrincipal + + """The application receiving the webhook.""" + recipient: App + """ - Look up a gift card. + The gift card the event relates to. Added in Saleor 3.2. @@ -5582,9 +6172,21 @@ input GiftCardSortingInput { field: GiftCardSortField! } -type GiftCardStatusChanged { +type GiftCardStatusChanged implements Event { + """Time of the event.""" + issuedAt: DateTime + + """Saleor version that triggered the event.""" + version: String + + """The user or application that triggered the event.""" + issuingPrincipal: IssuingPrincipal + + """The application receiving the webhook.""" + recipient: App + """ - Look up a gift card. + The gift card the event relates to. Added in Saleor 3.2. @@ -5689,9 +6291,21 @@ input GiftCardUpdateInput { balanceAmount: PositiveDecimal } -type GiftCardUpdated { +type GiftCardUpdated implements Event { + """Time of the event.""" + issuedAt: DateTime + + """Saleor version that triggered the event.""" + version: String + + """The user or application that triggered the event.""" + issuingPrincipal: IssuingPrincipal + + """The application receiving the webhook.""" + recipient: App + """ - Look up a gift card. + The gift card the event relates to. Added in Saleor 3.2. @@ -5848,9 +6462,21 @@ type InvoiceDelete { invoice: Invoice } -type InvoiceDeleted { +type InvoiceDeleted implements Event { + """Time of the event.""" + issuedAt: DateTime + + """Saleor version that triggered the event.""" + version: String + + """The user or application that triggered the event.""" + issuingPrincipal: IssuingPrincipal + + """The application receiving the webhook.""" + recipient: App + """ - Look up an Invoice. + The invoice the event relates to. Added in Saleor 3.2. @@ -5908,9 +6534,21 @@ type InvoiceRequestDelete { invoice: Invoice } -type InvoiceRequested { +type InvoiceRequested implements Event { + """Time of the event.""" + issuedAt: DateTime + + """Saleor version that triggered the event.""" + version: String + + """The user or application that triggered the event.""" + issuingPrincipal: IssuingPrincipal + + """The application receiving the webhook.""" + recipient: App + """ - Look up an Invoice. + The invoice the event relates to. Added in Saleor 3.2. @@ -5930,9 +6568,21 @@ type InvoiceSendNotification { invoice: Invoice } -type InvoiceSent { +type InvoiceSent implements Event { + """Time of the event.""" + issuedAt: DateTime + + """Saleor version that triggered the event.""" + version: String + + """The user or application that triggered the event.""" + issuingPrincipal: IssuingPrincipal + + """The application receiving the webhook.""" + recipient: App + """ - Look up an Invoice. + The invoice the event relates to. Added in Saleor 3.2. @@ -5952,6 +6602,8 @@ type InvoiceUpdate { invoice: Invoice } +union IssuingPrincipal = App | User + scalar JSONString interface Job { @@ -6946,9 +7598,21 @@ input MenuCreateInput { items: [MenuItemInput!] } -type MenuCreated { +type MenuCreated implements Event { + """Time of the event.""" + issuedAt: DateTime + + """Saleor version that triggered the event.""" + version: String + + """The user or application that triggered the event.""" + issuingPrincipal: IssuingPrincipal + + """The application receiving the webhook.""" + recipient: App + """ - Look up a menu. + The menu the event relates to. Added in Saleor 3.4. @@ -6971,9 +7635,21 @@ type MenuDelete { menu: Menu } -type MenuDeleted { +type MenuDeleted implements Event { + """Time of the event.""" + issuedAt: DateTime + + """Saleor version that triggered the event.""" + version: String + + """The user or application that triggered the event.""" + issuingPrincipal: IssuingPrincipal + + """The application receiving the webhook.""" + recipient: App + """ - Look up a menu. + The menu the event relates to. Added in Saleor 3.4. @@ -7166,9 +7842,21 @@ input MenuItemCreateInput { parent: ID } -type MenuItemCreated { +type MenuItemCreated implements Event { + """Time of the event.""" + issuedAt: DateTime + + """Saleor version that triggered the event.""" + version: String + + """The user or application that triggered the event.""" + issuingPrincipal: IssuingPrincipal + + """The application receiving the webhook.""" + recipient: App + """ - Look up a menu item. + The menu item the event relates to. Added in Saleor 3.4. @@ -7191,9 +7879,21 @@ type MenuItemDelete { menuItem: MenuItem } -type MenuItemDeleted { +type MenuItemDeleted implements Event { + """Time of the event.""" + issuedAt: DateTime + + """Saleor version that triggered the event.""" + version: String + + """The user or application that triggered the event.""" + issuingPrincipal: IssuingPrincipal + + """The application receiving the webhook.""" + recipient: App + """ - Look up a menu item. + The menu item the event relates to. Added in Saleor 3.4. @@ -7306,9 +8006,21 @@ type MenuItemUpdate { menuItem: MenuItem } -type MenuItemUpdated { +type MenuItemUpdated implements Event { + """Time of the event.""" + issuedAt: DateTime + + """Saleor version that triggered the event.""" + version: String + + """The user or application that triggered the event.""" + issuingPrincipal: IssuingPrincipal + + """The application receiving the webhook.""" + recipient: App + """ - Look up a menu item. + The menu item the event relates to. Added in Saleor 3.4. @@ -7352,9 +8064,21 @@ type MenuUpdate { menu: Menu } -type MenuUpdated { +type MenuUpdated implements Event { + """Time of the event.""" + issuedAt: DateTime + + """Saleor version that triggered the event.""" + version: String + + """The user or application that triggered the event.""" + issuingPrincipal: IssuingPrincipal + + """The application receiving the webhook.""" + recipient: App + """ - Look up a menu. + The menu the event relates to. Added in Saleor 3.4. @@ -9758,16 +10482,27 @@ type Mutation { """Adds a gift card or a voucher to a checkout.""" checkoutAddPromoCode( """ - The ID of the checkout. + The ID of the checkout. - DEPRECATED: this field will be removed in Saleor 4.0. Use token instead. + DEPRECATED: this field will be removed in Saleor 4.0. Use `id` instead. """ checkoutId: ID + """ + The checkout's ID. + + Added in Saleor 3.4. + """ + id: ID + """Gift card code or voucher code.""" promoCode: String! - """Checkout token.""" + """ + Checkout token. + + DEPRECATED: this field will be removed in Saleor 4.0. Use `id` instead. + """ token: UUID ): CheckoutAddPromoCode @@ -9779,11 +10514,22 @@ type Mutation { """ The ID of the checkout. - DEPRECATED: this field will be removed in Saleor 4.0. Use token instead. + DEPRECATED: this field will be removed in Saleor 4.0. Use `id` instead. """ checkoutId: ID - """Checkout token.""" + """ + The checkout's ID. + + Added in Saleor 3.4. + """ + id: ID + + """ + Checkout token. + + DEPRECATED: this field will be removed in Saleor 4.0. Use `id` instead. + """ token: UUID ): CheckoutBillingAddressUpdate @@ -9794,10 +10540,17 @@ type Mutation { """ The ID of the checkout. - DEPRECATED: this field will be removed in Saleor 4.0. Use token instead. + DEPRECATED: this field will be removed in Saleor 4.0. Use `id` instead. """ checkoutId: ID + """ + The checkout's ID. + + Added in Saleor 3.4. + """ + id: ID + """Client-side generated data required to finalize the payment.""" paymentData: JSONString @@ -9813,7 +10566,11 @@ type Mutation { """ storeSource: Boolean = false - """Checkout token.""" + """ + Checkout token. + + DEPRECATED: this field will be removed in Saleor 4.0. Use `id` instead. + """ token: UUID ): CheckoutComplete @@ -9832,7 +10589,7 @@ type Mutation { """ The ID of the checkout. - DEPRECATED: this field will be removed in Saleor 4.0. Use token instead. + DEPRECATED: this field will be removed in Saleor 4.0. Use `id` instead. """ checkoutId: ID @@ -9841,7 +10598,18 @@ type Mutation { """ customerId: ID - """Checkout token.""" + """ + The checkout's ID. + + Added in Saleor 3.4. + """ + id: ID + + """ + Checkout token. + + DEPRECATED: this field will be removed in Saleor 4.0. Use `id` instead. + """ token: UUID ): CheckoutCustomerAttach @@ -9854,11 +10622,22 @@ type Mutation { """ The ID of the checkout. - DEPRECATED: this field will be removed in Saleor 4.0. Use token instead. + DEPRECATED: this field will be removed in Saleor 4.0. Use `id` instead. """ checkoutId: ID - """Checkout token.""" + """ + The checkout's ID. + + Added in Saleor 3.4. + """ + id: ID + + """ + Checkout token. + + DEPRECATED: this field will be removed in Saleor 4.0. Use `id` instead. + """ token: UUID ): CheckoutCustomerDetach @@ -9867,14 +10646,25 @@ type Mutation { """ The ID of the checkout. - DEPRECATED: this field will be removed in Saleor 4.0. Use token instead. + DEPRECATED: this field will be removed in Saleor 4.0. Use `id` instead. """ checkoutId: ID """email.""" email: String! - """Checkout token.""" + """ + The checkout's ID. + + Added in Saleor 3.4. + """ + id: ID + + """ + Checkout token. + + DEPRECATED: this field will be removed in Saleor 4.0. Use `id` instead. + """ token: UUID ): CheckoutEmailUpdate @@ -9883,24 +10673,46 @@ type Mutation { """ The ID of the checkout. - DEPRECATED: this field will be removed in Saleor 4.0. Use token instead. + DEPRECATED: this field will be removed in Saleor 4.0. Use `id` instead. """ checkoutId: ID + """ + The checkout's ID. + + Added in Saleor 3.4. + """ + id: ID + """ID of the checkout line to delete.""" lineId: ID - """Checkout token.""" + """ + Checkout token. + + DEPRECATED: this field will be removed in Saleor 4.0. Use `id` instead. + """ token: UUID ): CheckoutLineDelete @deprecated(reason: "DEPRECATED: Will be removed in Saleor 4.0. Use `checkoutLinesDelete` instead.") """Deletes checkout lines.""" checkoutLinesDelete( + """ + The checkout's ID. + + Added in Saleor 3.4. + """ + id: ID + """A list of checkout lines.""" linesIds: [ID!]! - """Checkout token.""" - token: UUID! + """ + Checkout token. + + DEPRECATED: this field will be removed in Saleor 4.0. Use `id` instead. + """ + token: UUID ): CheckoutLinesDelete """ @@ -9910,16 +10722,27 @@ type Mutation { """ The ID of the checkout. - DEPRECATED: this field will be removed in Saleor 4.0. Use token instead. + DEPRECATED: this field will be removed in Saleor 4.0. Use `id` instead. """ checkoutId: ID + """ + The checkout's ID. + + Added in Saleor 3.4. + """ + id: ID + """ A list of checkout lines, each containing information about an item in the checkout. """ lines: [CheckoutLineInput!]! - """Checkout token.""" + """ + Checkout token. + + DEPRECATED: this field will be removed in Saleor 4.0. Use `id` instead. + """ token: UUID ): CheckoutLinesAdd @@ -9928,16 +10751,27 @@ type Mutation { """ The ID of the checkout. - DEPRECATED: this field will be removed in Saleor 4.0. Use token instead. + DEPRECATED: this field will be removed in Saleor 4.0. Use `id` instead. """ checkoutId: ID + """ + The checkout's ID. + + Added in Saleor 3.4. + """ + id: ID + """ A list of checkout lines, each containing information about an item in the checkout. """ lines: [CheckoutLineUpdateInput!]! - """Checkout token.""" + """ + Checkout token. + + DEPRECATED: this field will be removed in Saleor 4.0. Use `id` instead. + """ token: UUID ): CheckoutLinesUpdate @@ -9946,17 +10780,28 @@ type Mutation { """ The ID of the checkout. - DEPRECATED: this field will be removed in Saleor 4.0. Use token instead. + DEPRECATED: this field will be removed in Saleor 4.0. Use `id` instead. """ checkoutId: ID + """ + The checkout's ID. + + Added in Saleor 3.4. + """ + id: ID + """Gift card code or voucher code.""" promoCode: String """Gift card or voucher ID.""" promoCodeId: ID - """Checkout token.""" + """ + Checkout token. + + DEPRECATED: this field will be removed in Saleor 4.0. Use `id` instead. + """ token: UUID ): CheckoutRemovePromoCode @@ -9965,14 +10810,25 @@ type Mutation { """ The ID of the checkout. - DEPRECATED: this field will be removed in Saleor 4.0. Use token instead. + DEPRECATED: this field will be removed in Saleor 4.0. Use `id` instead. """ checkoutId: ID + """ + The checkout's ID. + + Added in Saleor 3.4. + """ + id: ID + """Data required to create a new payment.""" input: PaymentInput! - """Checkout token.""" + """ + Checkout token. + + DEPRECATED: this field will be removed in Saleor 4.0. Use `id` instead. + """ token: UUID ): CheckoutPaymentCreate @@ -9981,14 +10837,25 @@ type Mutation { """ The ID of the checkout. - DEPRECATED: this field will be removed in Saleor 4.0. Use token instead. + DEPRECATED: this field will be removed in Saleor 4.0. Use `id` instead. """ checkoutId: ID + """ + The checkout's ID. + + Added in Saleor 3.4. + """ + id: ID + """The mailing address to where the checkout will be shipped.""" shippingAddress: AddressInput! - """Checkout token.""" + """ + Checkout token. + + DEPRECATED: this field will be removed in Saleor 4.0. Use `id` instead. + """ token: UUID ): CheckoutShippingAddressUpdate @@ -9997,14 +10864,25 @@ type Mutation { """ The ID of the checkout. - DEPRECATED: this field will be removed in Saleor 4.0. Use token instead. + DEPRECATED: this field will be removed in Saleor 4.0. Use `id` instead. """ checkoutId: ID + """ + The checkout's ID. + + Added in Saleor 3.4. + """ + id: ID + """Shipping method.""" shippingMethodId: ID! - """Checkout token.""" + """ + Checkout token. + + DEPRECATED: this field will be removed in Saleor 4.0. Use `id` instead. + """ token: UUID ): CheckoutShippingMethodUpdate @deprecated(reason: "This field will be removed in Saleor 4.0. Use `checkoutDeliveryMethodUpdate` instead.") @@ -10019,7 +10897,18 @@ type Mutation { """Delivery Method ID (`Warehouse` ID or `ShippingMethod` ID).""" deliveryMethodId: ID - """Checkout token.""" + """ + The checkout's ID. + + Added in Saleor 3.4. + """ + id: ID + + """ + Checkout token. + + DEPRECATED: this field will be removed in Saleor 4.0. Use `id` instead. + """ token: UUID ): CheckoutDeliveryMethodUpdate @@ -10028,14 +10917,25 @@ type Mutation { """ The ID of the checkout. - DEPRECATED: this field will be removed in Saleor 4.0. Use token instead. + DEPRECATED: this field will be removed in Saleor 4.0. Use `id` instead. """ checkoutId: ID + """ + The checkout's ID. + + Added in Saleor 3.4. + """ + id: ID + """New language code.""" languageCode: LanguageCodeEnum! - """Checkout token.""" + """ + Checkout token. + + DEPRECATED: this field will be removed in Saleor 4.0. Use `id` instead. + """ token: UUID ): CheckoutLanguageCodeUpdate @@ -10937,18 +11837,18 @@ type Order implements Node & ObjectWithMetadata { status: OrderStatus! """ - User who placed the order. This field is set only for orders placed by authenticated users. Requires one of the following permissions: MANAGE_USERS, MANAGE_ORDERS, OWNER. + User who placed the order. This field is set only for orders placed by authenticated users. Can be fetched for orders created in Saleor 3.2 and later, for other orders requires one of the following permissions: MANAGE_USERS, MANAGE_ORDERS, OWNER. """ user: User trackingClientId: String! """ - Billing address. Requires one of the following permissions to view the full data: MANAGE_ORDERS, OWNER. + Billing address. The full data can be access for orders created in Saleor 3.2 and later, for other orders requires one of the following permissions: MANAGE_ORDERS, OWNER. """ billingAddress: Address """ - Shipping address. Requires one of the following permissions to view the full data: MANAGE_ORDERS, OWNER. + Shipping address. The full data can be access for orders created in Saleor 3.2 and later, for other orders requires one of the following permissions: MANAGE_ORDERS, OWNER. """ shippingAddress: Address shippingMethodName: String @@ -10982,7 +11882,7 @@ type Order implements Node & ObjectWithMetadata { availableCollectionPoints: [Warehouse!]! """ - List of order invoices. Requires one of the following permissions: MANAGE_ORDERS, OWNER. + List of order invoices. Can be fetched for orders created in Saleor 3.2 and later, for other orders requires one of the following permissions: MANAGE_ORDERS, OWNER. """ invoices: [Invoice!]! @@ -11004,6 +11904,24 @@ type Order implements Node & ObjectWithMetadata { """User-friendly payment status.""" paymentStatusDisplay: String! + """ + The authorize status of the order. + + Added in Saleor 3.4. + + Note: this API is currently in Feature Preview and can be subject to changes at later point. + """ + authorizeStatus: OrderAuthorizeStatusEnum! + + """ + The charge status of the order. + + Added in Saleor 3.4. + + Note: this API is currently in Feature Preview and can be subject to changes at later point. + """ + chargeStatus: OrderChargeStatusEnum! + """ List of transactions for the order. Requires one of the following permissions: MANAGE_ORDERS, HANDLE_PAYMENTS. @@ -11066,7 +11984,7 @@ type Order implements Node & ObjectWithMetadata { totalBalance: Money! """ - Email address of the customer. Requires the following permissions to access the full data: MANAGE_ORDERS, OWNER. + Email address of the customer. The full data can be access for orders created in Saleor 3.2 and later, for other orders requires one of the following permissions: MANAGE_ORDERS, OWNER. """ userEmail: String @@ -11136,6 +12054,28 @@ input OrderAddNoteInput { message: String! } +""" +Determine a current authorize status for order. + + We treat the order as fully authorized when the sum of authorized and charged funds + cover the order.total. + We treat the order as partially authorized when the sum of authorized and charged + funds covers only part of the order.total + We treat the order as not authorized when the sum of authorized and charged funds is + 0. + + NONE - the funds are not authorized + PARTIAL - the funds that are authorized or charged don't cover fully the order's + total + FULL - the funds that are authorized or charged fully cover the order's total + +""" +enum OrderAuthorizeStatusEnum { + NONE + PARTIAL + FULL +} + """ Cancels orders. @@ -11160,9 +12100,21 @@ type OrderCancel { errors: [OrderError!]! } -type OrderCancelled { +type OrderCancelled implements Event { + """Time of the event.""" + issuedAt: DateTime + + """Saleor version that triggered the event.""" + version: String + + """The user or application that triggered the event.""" + issuingPrincipal: IssuingPrincipal + + """The application receiving the webhook.""" + recipient: App + """ - Look up an order. + The order the event relates to. Added in Saleor 3.2. @@ -11183,6 +12135,27 @@ type OrderCapture { errors: [OrderError!]! } +""" +Determine the current charge status for the order. + + We treat the order as overcharged when the charged amount is bigger that order.total + We treat the order as fully charged when the charged amount is equal to order.total. + We treat the order as partially charged when the charged amount covers only part of + the order.total + + NONE - the funds are not charged. + PARTIAL - the funds that are charged don't cover the order's total + FULL - the funds that are charged fully cover the order's total + OVERCHARGED - the charged funds are bigger than order's total + +""" +enum OrderChargeStatusEnum { + NONE + PARTIAL + FULL + OVERCHARGED +} + """ Confirms an unconfirmed order by changing status to unfulfilled. @@ -11194,9 +12167,21 @@ type OrderConfirm { errors: [OrderError!]! } -type OrderConfirmed { +type OrderConfirmed implements Event { + """Time of the event.""" + issuedAt: DateTime + + """Saleor version that triggered the event.""" + version: String + + """The user or application that triggered the event.""" + issuingPrincipal: IssuingPrincipal + + """The application receiving the webhook.""" + recipient: App + """ - Look up an order. + The order the event relates to. Added in Saleor 3.2. @@ -11272,9 +12257,21 @@ enum OrderCreateFromCheckoutErrorCode { UNAVAILABLE_VARIANT_IN_CHANNEL } -type OrderCreated { +type OrderCreated implements Event { + """Time of the event.""" + issuedAt: DateTime + + """Saleor version that triggered the event.""" + version: String + + """The user or application that triggered the event.""" + issuingPrincipal: IssuingPrincipal + + """The application receiving the webhook.""" + recipient: App + """ - Look up an order. + The order the event relates to. Added in Saleor 3.2. @@ -11641,6 +12638,8 @@ input OrderFilterInput { search: String metadata: [MetadataFilter!] channels: [ID!] + authorizeStatus: [OrderAuthorizeStatusEnum!] + chargeStatus: [OrderChargeStatusEnum!] updatedAt: DateTimeRangeInput isClickAndCollect: Boolean isPreorder: Boolean @@ -11691,9 +12690,21 @@ input OrderFulfillStockInput { warehouse: ID! } -type OrderFulfilled { +type OrderFulfilled implements Event { + """Time of the event.""" + issuedAt: DateTime + + """Saleor version that triggered the event.""" + version: String + + """The user or application that triggered the event.""" + issuingPrincipal: IssuingPrincipal + + """The application receiving the webhook.""" + recipient: App + """ - Look up an order. + The order the event relates to. Added in Saleor 3.2. @@ -11702,9 +12713,21 @@ type OrderFulfilled { order: Order } -type OrderFullyPaid { +type OrderFullyPaid implements Event { + """Time of the event.""" + issuedAt: DateTime + + """Saleor version that triggered the event.""" + version: String + + """The user or application that triggered the event.""" + issuingPrincipal: IssuingPrincipal + + """The application receiving the webhook.""" + recipient: App + """ - Look up an order. + The order the event relates to. Added in Saleor 3.2. @@ -12119,9 +13142,21 @@ input OrderUpdateShippingInput { shippingMethod: ID } -type OrderUpdated { +type OrderUpdated implements Event { + """Time of the event.""" + issuedAt: DateTime + + """Saleor version that triggered the event.""" + version: String + + """The user or application that triggered the event.""" + issuingPrincipal: IssuingPrincipal + + """The application receiving the webhook.""" + recipient: App + """ - Look up an order. + The order the event relates to. Added in Saleor 3.2. @@ -12197,7 +13232,11 @@ type Page implements Node & ObjectWithMetadata { seoDescription: String title: String! - """Content of the page (JSON).""" + """ + Content of the page. + + Rich text format. For reference see https://editorjs.io/ + """ content: JSONString publicationDate: Date @deprecated(reason: "This field will be removed in Saleor 4.0. Use the `publishedAt` field to fetch the publication date.") @@ -12212,7 +13251,11 @@ type Page implements Node & ObjectWithMetadata { pageType: PageType! created: DateTime! - """Content of the page (JSON).""" + """ + Content of the page. + + Rich text format. For reference see https://editorjs.io/ + """ contentJson: JSONString! @deprecated(reason: "This field will be removed in Saleor 4.0. Use the `content` field instead.") """Returns translated page fields for the given language code.""" @@ -12308,7 +13351,11 @@ input PageCreateInput { """Page title.""" title: String - """Page content in JSON format.""" + """ + Page content. + + Rich text format. For reference see https://editorjs.io/ + """ content: JSONString """List of attributes.""" @@ -12338,9 +13385,21 @@ input PageCreateInput { pageType: ID! } -type PageCreated { +type PageCreated implements Event { + """Time of the event.""" + issuedAt: DateTime + + """Saleor version that triggered the event.""" + version: String + + """The user or application that triggered the event.""" + issuingPrincipal: IssuingPrincipal + + """The application receiving the webhook.""" + recipient: App + """ - Look up a page. + The page the event relates to. Added in Saleor 3.2. @@ -12360,9 +13419,21 @@ type PageDelete { page: Page } -type PageDeleted { +type PageDeleted implements Event { + """Time of the event.""" + issuedAt: DateTime + + """Saleor version that triggered the event.""" + version: String + + """The user or application that triggered the event.""" + issuingPrincipal: IssuingPrincipal + + """The application receiving the webhook.""" + recipient: App + """ - Look up a page. + The page the event relates to. Added in Saleor 3.2. @@ -12432,7 +13503,11 @@ input PageInput { """Page title.""" title: String - """Page content in JSON format.""" + """ + Page content. + + Rich text format. For reference see https://editorjs.io/ + """ content: JSONString """List of attributes.""" @@ -12512,9 +13587,19 @@ type PageTranslatableContent implements Node { seoTitle: String seoDescription: String title: String! + + """ + Content of the page. + + Rich text format. For reference see https://editorjs.io/ + """ content: JSONString - """Content of the page (JSON).""" + """ + Content of the page. + + Rich text format. For reference see https://editorjs.io/ + """ contentJson: JSONString @deprecated(reason: "This field will be removed in Saleor 4.0. Use the `content` field instead.") """Returns translated page fields for the given language code.""" @@ -12551,9 +13636,19 @@ type PageTranslation implements Node { seoTitle: String seoDescription: String title: String + + """ + Translated content of the page. + + Rich text format. For reference see https://editorjs.io/ + """ content: JSONString - """Translated description of the page (JSON).""" + """ + Translated description of the page. + + Rich text format. For reference see https://editorjs.io/ + """ contentJson: JSONString @deprecated(reason: "This field will be removed in Saleor 4.0. Use the `content` field instead.") } @@ -12561,6 +13656,12 @@ input PageTranslationInput { seoTitle: String seoDescription: String title: String + + """ + Translated page content. + + Rich text format. For reference see https://editorjs.io/ + """ content: JSONString } @@ -12701,6 +13802,29 @@ input PageTypeCreateInput { addAttributes: [ID!] } +type PageTypeCreated implements Event { + """Time of the event.""" + issuedAt: DateTime + + """Saleor version that triggered the event.""" + version: String + + """The user or application that triggered the event.""" + issuingPrincipal: IssuingPrincipal + + """The application receiving the webhook.""" + recipient: App + + """ + The page type the event relates to. + + Added in Saleor 3.5. + + Note: this API is currently in Feature Preview and can be subject to changes at later point. + """ + pageType: PageType +} + """ Delete a page type. @@ -12712,6 +13836,29 @@ type PageTypeDelete { pageType: PageType } +type PageTypeDeleted implements Event { + """Time of the event.""" + issuedAt: DateTime + + """Saleor version that triggered the event.""" + version: String + + """The user or application that triggered the event.""" + issuingPrincipal: IssuingPrincipal + + """The application receiving the webhook.""" + recipient: App + + """ + The page type the event relates to. + + Added in Saleor 3.5. + + Note: this API is currently in Feature Preview and can be subject to changes at later point. + """ + pageType: PageType +} + input PageTypeFilterInput { search: String } @@ -12769,6 +13916,29 @@ input PageTypeUpdateInput { removeAttributes: [ID!] } +type PageTypeUpdated implements Event { + """Time of the event.""" + issuedAt: DateTime + + """Saleor version that triggered the event.""" + version: String + + """The user or application that triggered the event.""" + issuingPrincipal: IssuingPrincipal + + """The application receiving the webhook.""" + recipient: App + + """ + The page type the event relates to. + + Added in Saleor 3.5. + + Note: this API is currently in Feature Preview and can be subject to changes at later point. + """ + pageType: PageType +} + """ Updates an existing page. @@ -12780,9 +13950,21 @@ type PageUpdate { page: Page } -type PageUpdated { +type PageUpdated implements Event { + """Time of the event.""" + issuedAt: DateTime + + """Saleor version that triggered the event.""" + version: String + + """The user or application that triggered the event.""" + issuingPrincipal: IssuingPrincipal + + """The application receiving the webhook.""" + recipient: App + """ - Look up a page. + The page the event relates to. Added in Saleor 3.2. @@ -13147,6 +14329,7 @@ enum PermissionEnum { MANAGE_STAFF IMPERSONATE_USER MANAGE_APPS + MANAGE_OBSERVABILITY MANAGE_CHANNELS MANAGE_DISCOUNTS MANAGE_PLUGINS @@ -13511,6 +14694,12 @@ type Product implements Node & ObjectWithMetadata { seoTitle: String seoDescription: String name: String! + + """ + Description of the product. + + Rich text format. For reference see https://editorjs.io/ + """ description: JSONString productType: ProductType! slug: String! @@ -13527,7 +14716,11 @@ type Product implements Node & ObjectWithMetadata { """ channel: String - """Description of the product (JSON).""" + """ + Description of the product. + + Rich text format. For reference see https://editorjs.io/ + """ descriptionJson: JSONString @deprecated(reason: "This field will be removed in Saleor 4.0. Use the `description` field instead.") """The main thumbnail for a product.""" @@ -13883,7 +15076,11 @@ input ProductCreateInput { """List of IDs of collections that the product belongs to.""" collections: [ID!] - """Product description (JSON).""" + """ + Product description. + + Rich text format. For reference see https://editorjs.io/ + """ description: JSONString """Product name.""" @@ -13908,9 +15105,21 @@ input ProductCreateInput { productType: ID! } -type ProductCreated { +type ProductCreated implements Event { + """Time of the event.""" + issuedAt: DateTime + + """Saleor version that triggered the event.""" + version: String + + """The user or application that triggered the event.""" + issuingPrincipal: IssuingPrincipal + + """The application receiving the webhook.""" + recipient: App + """ - Look up a product. + The product the event relates to. Added in Saleor 3.2. @@ -13922,7 +15131,7 @@ type ProductCreated { ): Product """ - Look up a category. + The category of the product. Added in Saleor 3.2. @@ -13942,9 +15151,21 @@ type ProductDelete { product: Product } -type ProductDeleted { +type ProductDeleted implements Event { + """Time of the event.""" + issuedAt: DateTime + + """Saleor version that triggered the event.""" + version: String + + """The user or application that triggered the event.""" + issuingPrincipal: IssuingPrincipal + + """The application receiving the webhook.""" + recipient: App + """ - Look up a product. + The product the event relates to. Added in Saleor 3.2. @@ -13956,7 +15177,7 @@ type ProductDeleted { ): Product """ - Look up a category. + The category of the product. Added in Saleor 3.2. @@ -14081,7 +15302,11 @@ input ProductInput { """List of IDs of collections that the product belongs to.""" collections: [ID!] - """Product description (JSON).""" + """ + Product description. + + Rich text format. For reference see https://editorjs.io/ + """ description: JSONString """Product name.""" @@ -14336,9 +15561,19 @@ type ProductTranslatableContent implements Node { seoTitle: String seoDescription: String name: String! + + """ + Description of the product. + + Rich text format. For reference see https://editorjs.io/ + """ description: JSONString - """Description of the product (JSON).""" + """ + Description of the product. + + Rich text format. For reference see https://editorjs.io/ + """ descriptionJson: JSONString @deprecated(reason: "This field will be removed in Saleor 4.0. Use the `description` field instead.") """Returns translated product fields for the given language code.""" @@ -14373,9 +15608,19 @@ type ProductTranslation implements Node { seoTitle: String seoDescription: String name: String + + """ + Translated description of the product. + + Rich text format. For reference see https://editorjs.io/ + """ description: JSONString - """Translated description of the product (JSON).""" + """ + Translated description of the product. + + Rich text format. For reference see https://editorjs.io/ + """ descriptionJson: JSONString @deprecated(reason: "This field will be removed in Saleor 4.0. Use the `description` field instead.") } @@ -14667,9 +15912,21 @@ type ProductUpdate { product: Product } -type ProductUpdated { +type ProductUpdated implements Event { + """Time of the event.""" + issuedAt: DateTime + + """Saleor version that triggered the event.""" + version: String + + """The user or application that triggered the event.""" + issuingPrincipal: IssuingPrincipal + + """The application receiving the webhook.""" + recipient: App + """ - Look up a product. + The product the event relates to. Added in Saleor 3.2. @@ -14681,7 +15938,7 @@ type ProductUpdated { ): Product """ - Look up a category. + The category of the product. Added in Saleor 3.2. @@ -14858,9 +16115,21 @@ type ProductVariant implements Node & ObjectWithMetadata { updatedAt: DateTime! } -type ProductVariantBackInStock { +type ProductVariantBackInStock implements Event { + """Time of the event.""" + issuedAt: DateTime + + """Saleor version that triggered the event.""" + version: String + + """The user or application that triggered the event.""" + issuingPrincipal: IssuingPrincipal + + """The application receiving the webhook.""" + recipient: App + """ - Look up a product variant. + The product variant the event relates to. Added in Saleor 3.2. @@ -15074,9 +16343,21 @@ input ProductVariantCreateInput { stocks: [StockInput!] } -type ProductVariantCreated { +type ProductVariantCreated implements Event { + """Time of the event.""" + issuedAt: DateTime + + """Saleor version that triggered the event.""" + version: String + + """The user or application that triggered the event.""" + issuingPrincipal: IssuingPrincipal + + """The application receiving the webhook.""" + recipient: App + """ - Look up a product variant. + The product variant the event relates to. Added in Saleor 3.2. @@ -15099,9 +16380,21 @@ type ProductVariantDelete { productVariant: ProductVariant } -type ProductVariantDeleted { +type ProductVariantDeleted implements Event { + """Time of the event.""" + issuedAt: DateTime + + """Saleor version that triggered the event.""" + version: String + + """The user or application that triggered the event.""" + issuingPrincipal: IssuingPrincipal + + """The application receiving the webhook.""" + recipient: App + """ - Look up a product variant. + The product variant the event relates to. Added in Saleor 3.2. @@ -15155,9 +16448,21 @@ input ProductVariantInput { quantityLimitPerCustomer: Int } -type ProductVariantOutOfStock { +type ProductVariantOutOfStock implements Event { + """Time of the event.""" + issuedAt: DateTime + + """Saleor version that triggered the event.""" + version: String + + """The user or application that triggered the event.""" + issuingPrincipal: IssuingPrincipal + + """The application receiving the webhook.""" + recipient: App + """ - Look up a product variant. + The product variant the event relates to. Added in Saleor 3.2. @@ -15323,9 +16628,21 @@ type ProductVariantUpdate { productVariant: ProductVariant } -type ProductVariantUpdated { +type ProductVariantUpdated implements Event { + """Time of the event.""" + issuedAt: DateTime + + """Saleor version that triggered the event.""" + version: String + + """The user or application that triggered the event.""" + issuingPrincipal: IssuingPrincipal + + """The application receiving the webhook.""" + recipient: App + """ - Look up a product variant. + The product variant the event relates to. Added in Saleor 3.2. @@ -15881,11 +17198,7 @@ type Query { last: Int ): OrderEventCountableConnection - """ - Look up an order by ID. - - Requires one of the following permissions: MANAGE_ORDERS. - """ + """Look up an order by ID.""" order( """ID of an order.""" id: ID! @@ -16290,7 +17603,18 @@ type Query { """Look up a checkout by token and slug of channel.""" checkout( - """The checkout's token.""" + """ + The checkout's ID. + + Added in Saleor 3.4. + """ + id: ID + + """ + The checkout's token. + + DEPRECATED: this field will be removed in Saleor 4.0. Use `id` instead. + """ token: UUID ): Checkout @@ -16409,7 +17733,7 @@ type Query { """ List of the apps. - Requires one of the following permissions: MANAGE_APPS. + Requires one of the following permissions: AUTHENTICATED_STAFF_USER, MANAGE_APPS. """ apps( """Filtering options for apps.""" @@ -16432,7 +17756,9 @@ type Query { ): AppCountableConnection """ - Look up an app by ID. If ID is not provided, return the currently authenticated app. Requires one of the following permissions: OWNER, MANAGE_APPS. + Look up an app by ID. If ID is not provided, return the currently authenticated app. + + Requires one of the following permissions: AUTHENTICATED_STAFF_USER AUTHENTICATED_APP. The authenticated app has access to its resources. Fetching different apps requires MANAGE_APPS permission. """ app( """ID of the app.""" @@ -16899,9 +18225,21 @@ type SaleCreate { sale: Sale } -type SaleCreated { +type SaleCreated implements Event { + """Time of the event.""" + issuedAt: DateTime + + """Saleor version that triggered the event.""" + version: String + + """The user or application that triggered the event.""" + issuingPrincipal: IssuingPrincipal + + """The application receiving the webhook.""" + recipient: App + """ - Look up a sale. + The sale the event relates to. Added in Saleor 3.2. @@ -16924,9 +18262,21 @@ type SaleDelete { sale: Sale } -type SaleDeleted { +type SaleDeleted implements Event { + """Time of the event.""" + issuedAt: DateTime + + """Saleor version that triggered the event.""" + version: String + + """The user or application that triggered the event.""" + issuingPrincipal: IssuingPrincipal + + """The application receiving the webhook.""" + recipient: App + """ - Look up a sale. + The sale the event relates to. Added in Saleor 3.2. @@ -17081,9 +18431,21 @@ type SaleUpdate { sale: Sale } -type SaleUpdated { +type SaleUpdated implements Event { + """Time of the event.""" + issuedAt: DateTime + + """Saleor version that triggered the event.""" + version: String + + """The user or application that triggered the event.""" + issuingPrincipal: IssuingPrincipal + + """The application receiving the webhook.""" + recipient: App + """ - Look up a sale. + The sale the event relates to. Added in Saleor 3.2. @@ -17221,7 +18583,11 @@ type ShippingMethod implements Node & ObjectWithMetadata { """Shipping method name.""" name: String! - """Shipping method description (JSON).""" + """ + Shipping method description. + + Rich text format. For reference see https://editorjs.io/ + """ description: JSONString """Maximum delivery days for this shipping method.""" @@ -17319,6 +18685,12 @@ type ShippingMethodPostalCodeRule implements Node { type ShippingMethodTranslatableContent implements Node { id: ID! name: String! + + """ + Description of the shipping method. + + Rich text format. For reference see https://editorjs.io/ + """ description: JSONString """Returns translated shipping method fields for the given language code.""" @@ -17341,6 +18713,12 @@ type ShippingMethodTranslation implements Node { """Translation language.""" language: LanguageDisplay! name: String + + """ + Translated description of the shipping method. + + Rich text format. For reference see https://editorjs.io/ + """ description: JSONString } @@ -17400,7 +18778,11 @@ type ShippingMethodType implements Node & ObjectWithMetadata { """Shipping method name.""" name: String! - """Shipping method description.""" + """ + Shipping method description. + + Rich text format. For reference see https://editorjs.io/ + """ description: JSONString """Type of the shipping method.""" @@ -17501,9 +18883,21 @@ type ShippingPriceCreate { errors: [ShippingError!]! } -type ShippingPriceCreated { +type ShippingPriceCreated implements Event { + """Time of the event.""" + issuedAt: DateTime + + """Saleor version that triggered the event.""" + version: String + + """The user or application that triggered the event.""" + issuingPrincipal: IssuingPrincipal + + """The application receiving the webhook.""" + recipient: App + """ - Look up a shipping method. + The shipping method the event relates to. Added in Saleor 3.2. @@ -17515,7 +18909,7 @@ type ShippingPriceCreated { ): ShippingMethodType """ - Look up a shipping zone. + The shipping zone the shipping method belongs to. Added in Saleor 3.2. @@ -17542,9 +18936,21 @@ type ShippingPriceDelete { errors: [ShippingError!]! } -type ShippingPriceDeleted { +type ShippingPriceDeleted implements Event { + """Time of the event.""" + issuedAt: DateTime + + """Saleor version that triggered the event.""" + version: String + + """The user or application that triggered the event.""" + issuingPrincipal: IssuingPrincipal + + """The application receiving the webhook.""" + recipient: App + """ - Look up a shipping method. + The shipping method the event relates to. Added in Saleor 3.2. @@ -17556,7 +18962,7 @@ type ShippingPriceDeleted { ): ShippingMethodType """ - Look up a shipping zone. + The shipping zone the shipping method belongs to. Added in Saleor 3.2. @@ -17646,7 +19052,11 @@ type ShippingPriceTranslate { input ShippingPriceTranslationInput { name: String - """Translated shipping method description (JSON).""" + """ + Translated shipping method description. + + Rich text format. For reference see https://editorjs.io/ + """ description: JSONString } @@ -17663,9 +19073,21 @@ type ShippingPriceUpdate { errors: [ShippingError!]! } -type ShippingPriceUpdated { +type ShippingPriceUpdated implements Event { + """Time of the event.""" + issuedAt: DateTime + + """Saleor version that triggered the event.""" + version: String + + """The user or application that triggered the event.""" + issuingPrincipal: IssuingPrincipal + + """The application receiving the webhook.""" + recipient: App + """ - Look up a shipping method. + The shipping method the event relates to. Added in Saleor 3.2. @@ -17677,7 +19099,7 @@ type ShippingPriceUpdated { ): ShippingMethodType """ - Look up a shipping zone. + The shipping zone the shipping method belongs to. Added in Saleor 3.2. @@ -17826,9 +19248,21 @@ input ShippingZoneCreateInput { addChannels: [ID!] } -type ShippingZoneCreated { +type ShippingZoneCreated implements Event { + """Time of the event.""" + issuedAt: DateTime + + """Saleor version that triggered the event.""" + version: String + + """The user or application that triggered the event.""" + issuingPrincipal: IssuingPrincipal + + """The application receiving the webhook.""" + recipient: App + """ - Look up a shipping zone. + The shipping zone the event relates to. Added in Saleor 3.2. @@ -17851,9 +19285,21 @@ type ShippingZoneDelete { shippingZone: ShippingZone } -type ShippingZoneDeleted { +type ShippingZoneDeleted implements Event { + """Time of the event.""" + issuedAt: DateTime + + """Saleor version that triggered the event.""" + version: String + + """The user or application that triggered the event.""" + issuingPrincipal: IssuingPrincipal + + """The application receiving the webhook.""" + recipient: App + """ - Look up a shipping zone. + The shipping zone the event relates to. Added in Saleor 3.2. @@ -17909,9 +19355,21 @@ input ShippingZoneUpdateInput { removeChannels: [ID!] } -type ShippingZoneUpdated { +type ShippingZoneUpdated implements Event { + """Time of the event.""" + issuedAt: DateTime + + """Saleor version that triggered the event.""" + version: String + + """The user or application that triggered the event.""" + issuingPrincipal: IssuingPrincipal + + """The application receiving the webhook.""" + recipient: App + """ - Look up a shipping zone. + The shipping zone the event relates to. Added in Saleor 3.2. @@ -18700,18 +20158,30 @@ type TransactionAction { Represents possible actions on payment transaction. The following actions are possible: - CAPTURE - Represents the capture action. + CHARGE - Represents the charge action. REFUND - Represents a refund action. VOID - Represents a void action. """ enum TransactionActionEnum { - CAPTURE + CHARGE REFUND VOID } -type TransactionActionRequest { +type TransactionActionRequest implements Event { + """Time of the event.""" + issuedAt: DateTime + + """Saleor version that triggered the event.""" + version: String + + """The user or application that triggered the event.""" + issuingPrincipal: IssuingPrincipal + + """The application receiving the webhook.""" + recipient: App + """ Look up a transaction. @@ -18781,8 +20251,8 @@ input TransactionCreateInput { """Amount authorized by this transaction.""" amountAuthorized: MoneyInput - """Amount captured by this transaction.""" - amountCaptured: MoneyInput + """Amount charged by this transaction.""" + amountCharged: MoneyInput """Amount refunded by this transaction.""" amountRefunded: MoneyInput @@ -18897,8 +20367,8 @@ type TransactionItem implements Node & ObjectWithMetadata { """Total amount voided for this payment.""" voidedAmount: Money! - """Total amount captured for this payment.""" - capturedAmount: Money! + """Total amount charged for this payment.""" + chargedAmount: Money! """Status of transaction.""" status: String! @@ -19019,8 +20489,8 @@ input TransactionUpdateInput { """Amount authorized by this transaction.""" amountAuthorized: MoneyInput - """Amount captured by this transaction.""" - amountCaptured: MoneyInput + """Amount charged by this transaction.""" + amountCharged: MoneyInput """Amount refunded by this transaction.""" amountRefunded: MoneyInput @@ -19068,9 +20538,21 @@ enum TranslatableKinds { VOUCHER } -type TranslationCreated { +type TranslationCreated implements Event { + """Time of the event.""" + issuedAt: DateTime + + """Saleor version that triggered the event.""" + version: String + + """The user or application that triggered the event.""" + issuingPrincipal: IssuingPrincipal + + """The application receiving the webhook.""" + recipient: App + """ - Look up a translation. + The translation the event relates to. Added in Saleor 3.2. @@ -19104,14 +20586,32 @@ input TranslationInput { seoTitle: String seoDescription: String name: String + + """ + Translated description. + + Rich text format. For reference see https://editorjs.io/ + """ description: JSONString } union TranslationTypes = ProductTranslation | CollectionTranslation | CategoryTranslation | AttributeTranslation | AttributeValueTranslation | ProductVariantTranslation | PageTranslation | ShippingMethodTranslation | SaleTranslation | VoucherTranslation | MenuItemTranslation -type TranslationUpdated { +type TranslationUpdated implements Event { + """Time of the event.""" + issuedAt: DateTime + + """Saleor version that triggered the event.""" + version: String + + """The user or application that triggered the event.""" + issuingPrincipal: IssuingPrincipal + + """The application receiving the webhook.""" + recipient: App + """ - Look up a translation. + The translation the event relates to. Added in Saleor 3.2. @@ -19236,7 +20736,13 @@ type User implements Node & ObjectWithMetadata { checkoutTokens( """Slug of a channel for which the data should be returned.""" channel: String - ): [UUID!] + ): [UUID!] @deprecated(reason: "This field will be removed in Saleor 4.0. Use `checkoutIds` instead.") + + """Returns the checkout ID's assigned to this user.""" + checkoutIds( + """Slug of a channel for which the data should be returned.""" + channel: String + ): [ID!] """List of the user gift cards.""" giftCards( @@ -19797,9 +21303,21 @@ type VoucherCreate { voucher: Voucher } -type VoucherCreated { +type VoucherCreated implements Event { + """Time of the event.""" + issuedAt: DateTime + + """Saleor version that triggered the event.""" + version: String + + """The user or application that triggered the event.""" + issuingPrincipal: IssuingPrincipal + + """The application receiving the webhook.""" + recipient: App + """ - Look up a voucher. + The voucher the event relates to. Added in Saleor 3.4. @@ -19822,9 +21340,21 @@ type VoucherDelete { voucher: Voucher } -type VoucherDeleted { +type VoucherDeleted implements Event { + """Time of the event.""" + issuedAt: DateTime + + """Saleor version that triggered the event.""" + version: String + + """The user or application that triggered the event.""" + issuingPrincipal: IssuingPrincipal + + """The application receiving the webhook.""" + recipient: App + """ - Look up a voucher. + The voucher the event relates to. Added in Saleor 3.4. @@ -20017,9 +21547,21 @@ type VoucherUpdate { voucher: Voucher } -type VoucherUpdated { +type VoucherUpdated implements Event { + """Time of the event.""" + issuedAt: DateTime + + """Saleor version that triggered the event.""" + version: String + + """The user or application that triggered the event.""" + issuingPrincipal: IssuingPrincipal + + """The application receiving the webhook.""" + recipient: App + """ - Look up a voucher. + The voucher the event relates to. Added in Saleor 3.4. @@ -20164,6 +21706,29 @@ input WarehouseCreateInput { shippingZones: [ID!] } +type WarehouseCreated implements Event { + """Time of the event.""" + issuedAt: DateTime + + """Saleor version that triggered the event.""" + version: String + + """The user or application that triggered the event.""" + issuingPrincipal: IssuingPrincipal + + """The application receiving the webhook.""" + recipient: App + + """ + The warehouse the event relates to. + + Added in Saleor 3.4. + + Note: this API is currently in Feature Preview and can be subject to changes at later point. + """ + warehouse: Warehouse +} + """ Deletes selected warehouse. @@ -20175,6 +21740,29 @@ type WarehouseDelete { warehouse: Warehouse } +type WarehouseDeleted implements Event { + """Time of the event.""" + issuedAt: DateTime + + """Saleor version that triggered the event.""" + version: String + + """The user or application that triggered the event.""" + issuingPrincipal: IssuingPrincipal + + """The application receiving the webhook.""" + recipient: App + + """ + The warehouse the event relates to. + + Added in Saleor 3.4. + + Note: this API is currently in Feature Preview and can be subject to changes at later point. + """ + warehouse: Warehouse +} + type WarehouseError { """ Name of a field that caused the error. A value of `null` indicates that the error isn't associated with a particular field. @@ -20283,6 +21871,29 @@ input WarehouseUpdateInput { isPrivate: Boolean } +type WarehouseUpdated implements Event { + """Time of the event.""" + issuedAt: DateTime + + """Saleor version that triggered the event.""" + version: String + + """The user or application that triggered the event.""" + issuingPrincipal: IssuingPrincipal + + """The application receiving the webhook.""" + recipient: App + + """ + The warehouse the event relates to. + + Added in Saleor 3.4. + + Note: this API is currently in Feature Preview and can be subject to changes at later point. + """ + warehouse: Warehouse +} + """Webhook.""" type Webhook implements Node { id: ID! @@ -20447,6 +22058,27 @@ enum WebhookEventTypeAsyncEnum { """All the events.""" ANY_EVENTS + """A new address created.""" + ADDRESS_CREATED + + """An address updated.""" + ADDRESS_UPDATED + + """An address deleted.""" + ADDRESS_DELETED + + """A new app installed.""" + APP_INSTALLED + + """An app updated.""" + APP_UPDATED + + """An app deleted.""" + APP_DELETED + + """An app status is changed.""" + APP_STATUS_CHANGED + """A new category created.""" CATEGORY_CREATED @@ -20596,6 +22228,15 @@ enum WebhookEventTypeAsyncEnum { """A page is deleted.""" PAGE_DELETED + """A new page type is created.""" + PAGE_TYPE_CREATED + + """A page type is updated.""" + PAGE_TYPE_UPDATED + + """A page type is deleted.""" + PAGE_TYPE_DELETED + """A new shipping price is created.""" SHIPPING_PRICE_CREATED @@ -20617,6 +22258,15 @@ enum WebhookEventTypeAsyncEnum { TRANSLATION_CREATED TRANSLATION_UPDATED + """A new warehouse created.""" + WAREHOUSE_CREATED + + """A warehouse is updated.""" + WAREHOUSE_UPDATED + + """A warehouse is deleted.""" + WAREHOUSE_DELETED + """A new voucher created.""" VOUCHER_CREATED @@ -20625,6 +22275,9 @@ enum WebhookEventTypeAsyncEnum { """A voucher is deleted.""" VOUCHER_DELETED + + """An observability event is created.""" + OBSERVABILITY } """Enum determining type of webhook.""" @@ -20632,6 +22285,27 @@ enum WebhookEventTypeEnum { """All the events.""" ANY_EVENTS + """A new address created.""" + ADDRESS_CREATED + + """An address updated.""" + ADDRESS_UPDATED + + """An address deleted.""" + ADDRESS_DELETED + + """A new app installed.""" + APP_INSTALLED + + """An app updated.""" + APP_UPDATED + + """An app deleted.""" + APP_DELETED + + """An app status is changed.""" + APP_STATUS_CHANGED + """A new category created.""" CATEGORY_CREATED @@ -20781,6 +22455,15 @@ enum WebhookEventTypeEnum { """A page is deleted.""" PAGE_DELETED + """A new page type is created.""" + PAGE_TYPE_CREATED + + """A page type is updated.""" + PAGE_TYPE_UPDATED + + """A page type is deleted.""" + PAGE_TYPE_DELETED + """A new shipping price is created.""" SHIPPING_PRICE_CREATED @@ -20802,6 +22485,15 @@ enum WebhookEventTypeEnum { TRANSLATION_CREATED TRANSLATION_UPDATED + """A new warehouse created.""" + WAREHOUSE_CREATED + + """A warehouse is updated.""" + WAREHOUSE_UPDATED + + """A warehouse is deleted.""" + WAREHOUSE_DELETED + """A new voucher created.""" VOUCHER_CREATED @@ -20810,6 +22502,9 @@ enum WebhookEventTypeEnum { """A voucher is deleted.""" VOUCHER_DELETED + + """An observability event is created.""" + OBSERVABILITY PAYMENT_AUTHORIZE PAYMENT_CAPTURE PAYMENT_CONFIRM @@ -20838,6 +22533,13 @@ enum WebhookEventTypeSyncEnum { """An enumeration.""" enum WebhookSampleEventTypeEnum { + ADDRESS_CREATED + ADDRESS_UPDATED + ADDRESS_DELETED + APP_INSTALLED + APP_UPDATED + APP_DELETED + APP_STATUS_CHANGED CATEGORY_CREATED CATEGORY_UPDATED CATEGORY_DELETED @@ -20891,6 +22593,9 @@ enum WebhookSampleEventTypeEnum { PAGE_CREATED PAGE_UPDATED PAGE_DELETED + PAGE_TYPE_CREATED + PAGE_TYPE_UPDATED + PAGE_TYPE_DELETED SHIPPING_PRICE_CREATED SHIPPING_PRICE_UPDATED SHIPPING_PRICE_DELETED @@ -20900,9 +22605,13 @@ enum WebhookSampleEventTypeEnum { TRANSACTION_ACTION_REQUEST TRANSLATION_CREATED TRANSLATION_UPDATED + WAREHOUSE_CREATED + WAREHOUSE_UPDATED + WAREHOUSE_DELETED VOUCHER_CREATED VOUCHER_UPDATED VOUCHER_DELETED + OBSERVABILITY } """ diff --git a/src/graphql/fragmentTypes.generated.ts b/src/graphql/fragmentTypes.generated.ts index 9a1462198..f9249db20 100644 --- a/src/graphql/fragmentTypes.generated.ts +++ b/src/graphql/fragmentTypes.generated.ts @@ -12,70 +12,87 @@ "ShippingMethod" ], "Event": [ + "AddressCreated", + "AddressDeleted", + "AddressUpdated", + "AppDeleted", + "AppInstalled", + "AppStatusChanged", + "AppUpdated", "CategoryCreated", - "CategoryUpdated", "CategoryDeleted", + "CategoryUpdated", "ChannelCreated", - "ChannelUpdated", "ChannelDeleted", "ChannelStatusChanged", - "GiftCardCreated", - "GiftCardUpdated", - "GiftCardDeleted", - "GiftCardStatusChanged", - "MenuCreated", - "MenuUpdated", - "MenuDeleted", - "MenuItemCreated", - "MenuItemUpdated", - "MenuItemDeleted", - "OrderCreated", - "OrderUpdated", - "OrderConfirmed", - "OrderFullyPaid", - "OrderCancelled", - "OrderFulfilled", - "DraftOrderCreated", - "DraftOrderUpdated", - "DraftOrderDeleted", - "ProductCreated", - "ProductUpdated", - "ProductDeleted", - "ProductVariantCreated", - "ProductVariantUpdated", - "ProductVariantOutOfStock", - "ProductVariantBackInStock", - "ProductVariantDeleted", - "SaleCreated", - "SaleUpdated", - "SaleDeleted", - "InvoiceRequested", - "InvoiceDeleted", - "InvoiceSent", - "FulfillmentCreated", - "FulfillmentCanceled", - "CustomerCreated", - "CustomerUpdated", - "CollectionCreated", - "CollectionUpdated", - "CollectionDeleted", + "ChannelUpdated", "CheckoutCreated", "CheckoutUpdated", + "CollectionCreated", + "CollectionDeleted", + "CollectionUpdated", + "CustomerCreated", + "CustomerUpdated", + "DraftOrderCreated", + "DraftOrderDeleted", + "DraftOrderUpdated", + "FulfillmentCanceled", + "FulfillmentCreated", + "GiftCardCreated", + "GiftCardDeleted", + "GiftCardStatusChanged", + "GiftCardUpdated", + "InvoiceDeleted", + "InvoiceRequested", + "InvoiceSent", + "MenuCreated", + "MenuDeleted", + "MenuItemCreated", + "MenuItemDeleted", + "MenuItemUpdated", + "MenuUpdated", + "OrderCancelled", + "OrderConfirmed", + "OrderCreated", + "OrderFulfilled", + "OrderFullyPaid", + "OrderUpdated", "PageCreated", - "PageUpdated", "PageDeleted", + "PageTypeCreated", + "PageTypeDeleted", + "PageTypeUpdated", + "PageUpdated", + "ProductCreated", + "ProductDeleted", + "ProductUpdated", + "ProductVariantBackInStock", + "ProductVariantCreated", + "ProductVariantDeleted", + "ProductVariantOutOfStock", + "ProductVariantUpdated", + "SaleCreated", + "SaleDeleted", + "SaleUpdated", "ShippingPriceCreated", - "ShippingPriceUpdated", "ShippingPriceDeleted", + "ShippingPriceUpdated", "ShippingZoneCreated", - "ShippingZoneUpdated", "ShippingZoneDeleted", + "ShippingZoneUpdated", "TransactionActionRequest", "TranslationCreated", "TranslationUpdated", "VoucherCreated", + "VoucherDeleted", "VoucherUpdated", - "VoucherDeleted" + "WarehouseCreated", + "WarehouseDeleted", + "WarehouseUpdated" + ], + "IssuingPrincipal": [ + "App", + "User" ], "Job": [ "AppInstallation", diff --git a/src/graphql/typePolicies.generated.ts b/src/graphql/typePolicies.generated.ts index 0ca01a4de..7375b6165 100644 --- a/src/graphql/typePolicies.generated.ts +++ b/src/graphql/typePolicies.generated.ts @@ -82,6 +82,14 @@ export type AddressCreateFieldPolicy = { errors?: FieldPolicy | FieldReadFunction, address?: FieldPolicy | FieldReadFunction }; +export type AddressCreatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'address' | AddressCreatedKeySpecifier)[]; +export type AddressCreatedFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, + address?: FieldPolicy | FieldReadFunction +}; export type AddressDeleteKeySpecifier = ('user' | 'accountErrors' | 'errors' | 'address' | AddressDeleteKeySpecifier)[]; export type AddressDeleteFieldPolicy = { user?: FieldPolicy | FieldReadFunction, @@ -89,6 +97,14 @@ export type AddressDeleteFieldPolicy = { errors?: FieldPolicy | FieldReadFunction, address?: FieldPolicy | FieldReadFunction }; +export type AddressDeletedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'address' | AddressDeletedKeySpecifier)[]; +export type AddressDeletedFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, + address?: FieldPolicy | FieldReadFunction +}; export type AddressSetDefaultKeySpecifier = ('user' | 'accountErrors' | 'errors' | AddressSetDefaultKeySpecifier)[]; export type AddressSetDefaultFieldPolicy = { user?: FieldPolicy | FieldReadFunction, @@ -102,6 +118,14 @@ export type AddressUpdateFieldPolicy = { errors?: FieldPolicy | FieldReadFunction, address?: FieldPolicy | FieldReadFunction }; +export type AddressUpdatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'address' | AddressUpdatedKeySpecifier)[]; +export type AddressUpdatedFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, + address?: FieldPolicy | FieldReadFunction +}; export type AddressValidationDataKeySpecifier = ('countryCode' | 'countryName' | 'addressFormat' | 'addressLatinFormat' | 'allowedFields' | 'requiredFields' | 'upperFields' | 'countryAreaType' | 'countryAreaChoices' | 'cityType' | 'cityChoices' | 'cityAreaType' | 'cityAreaChoices' | 'postalCodeType' | 'postalCodeMatchers' | 'postalCodeExamples' | 'postalCodePrefix' | AddressValidationDataKeySpecifier)[]; export type AddressValidationDataFieldPolicy = { countryCode?: FieldPolicy | FieldReadFunction, @@ -197,6 +221,14 @@ export type AppDeleteFailedInstallationFieldPolicy = { errors?: FieldPolicy | FieldReadFunction, appInstallation?: FieldPolicy | FieldReadFunction }; +export type AppDeletedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'app' | AppDeletedKeySpecifier)[]; +export type AppDeletedFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, + app?: FieldPolicy | FieldReadFunction +}; export type AppErrorKeySpecifier = ('field' | 'message' | 'code' | 'permissions' | AppErrorKeySpecifier)[]; export type AppErrorFieldPolicy = { field?: FieldPolicy | FieldReadFunction, @@ -248,6 +280,14 @@ export type AppInstallationFieldPolicy = { appName?: FieldPolicy | FieldReadFunction, manifestUrl?: FieldPolicy | FieldReadFunction }; +export type AppInstalledKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'app' | AppInstalledKeySpecifier)[]; +export type AppInstalledFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, + app?: FieldPolicy | FieldReadFunction +}; export type AppManifestExtensionKeySpecifier = ('permissions' | 'label' | 'url' | 'mount' | 'target' | AppManifestExtensionKeySpecifier)[]; export type AppManifestExtensionFieldPolicy = { permissions?: FieldPolicy | FieldReadFunction, @@ -262,6 +302,14 @@ export type AppRetryInstallFieldPolicy = { errors?: FieldPolicy | FieldReadFunction, appInstallation?: FieldPolicy | FieldReadFunction }; +export type AppStatusChangedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'app' | AppStatusChangedKeySpecifier)[]; +export type AppStatusChangedFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, + app?: FieldPolicy | FieldReadFunction +}; export type AppTokenKeySpecifier = ('id' | 'name' | 'authToken' | AppTokenKeySpecifier)[]; export type AppTokenFieldPolicy = { id?: FieldPolicy | FieldReadFunction, @@ -293,6 +341,14 @@ export type AppUpdateFieldPolicy = { errors?: FieldPolicy | FieldReadFunction, app?: FieldPolicy | FieldReadFunction }; +export type AppUpdatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'app' | AppUpdatedKeySpecifier)[]; +export type AppUpdatedFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, + app?: FieldPolicy | FieldReadFunction +}; export type AssignNavigationKeySpecifier = ('menu' | 'menuErrors' | 'errors' | AssignNavigationKeySpecifier)[]; export type AssignNavigationFieldPolicy = { menu?: FieldPolicy | FieldReadFunction, @@ -397,7 +453,7 @@ export type AttributeUpdateFieldPolicy = { attributeErrors?: FieldPolicy | FieldReadFunction, errors?: FieldPolicy | FieldReadFunction }; -export type AttributeValueKeySpecifier = ('id' | 'name' | 'slug' | 'value' | 'translation' | 'inputType' | 'reference' | 'file' | 'richText' | 'boolean' | 'date' | 'dateTime' | AttributeValueKeySpecifier)[]; +export type AttributeValueKeySpecifier = ('id' | 'name' | 'slug' | 'value' | 'translation' | 'inputType' | 'reference' | 'file' | 'richText' | 'plainText' | 'boolean' | 'date' | 'dateTime' | AttributeValueKeySpecifier)[]; export type AttributeValueFieldPolicy = { id?: FieldPolicy | FieldReadFunction, name?: FieldPolicy | FieldReadFunction, @@ -408,6 +464,7 @@ export type AttributeValueFieldPolicy = { reference?: FieldPolicy | FieldReadFunction, file?: FieldPolicy | FieldReadFunction, richText?: FieldPolicy | FieldReadFunction, + plainText?: FieldPolicy | FieldReadFunction, boolean?: FieldPolicy | FieldReadFunction, date?: FieldPolicy | FieldReadFunction, dateTime?: FieldPolicy | FieldReadFunction @@ -443,11 +500,12 @@ export type AttributeValueDeleteFieldPolicy = { errors?: FieldPolicy | FieldReadFunction, attributeValue?: FieldPolicy | FieldReadFunction }; -export type AttributeValueTranslatableContentKeySpecifier = ('id' | 'name' | 'richText' | 'translation' | 'attributeValue' | AttributeValueTranslatableContentKeySpecifier)[]; +export type AttributeValueTranslatableContentKeySpecifier = ('id' | 'name' | 'richText' | 'plainText' | 'translation' | 'attributeValue' | AttributeValueTranslatableContentKeySpecifier)[]; export type AttributeValueTranslatableContentFieldPolicy = { id?: FieldPolicy | FieldReadFunction, name?: FieldPolicy | FieldReadFunction, richText?: FieldPolicy | FieldReadFunction, + plainText?: FieldPolicy | FieldReadFunction, translation?: FieldPolicy | FieldReadFunction, attributeValue?: FieldPolicy | FieldReadFunction }; @@ -457,12 +515,13 @@ export type AttributeValueTranslateFieldPolicy = { errors?: FieldPolicy | FieldReadFunction, attributeValue?: FieldPolicy | FieldReadFunction }; -export type AttributeValueTranslationKeySpecifier = ('id' | 'language' | 'name' | 'richText' | AttributeValueTranslationKeySpecifier)[]; +export type AttributeValueTranslationKeySpecifier = ('id' | 'language' | 'name' | 'richText' | 'plainText' | AttributeValueTranslationKeySpecifier)[]; export type AttributeValueTranslationFieldPolicy = { id?: FieldPolicy | FieldReadFunction, language?: FieldPolicy | FieldReadFunction, name?: FieldPolicy | FieldReadFunction, - richText?: FieldPolicy | FieldReadFunction + richText?: FieldPolicy | FieldReadFunction, + plainText?: FieldPolicy | FieldReadFunction }; export type AttributeValueUpdateKeySpecifier = ('attribute' | 'attributeErrors' | 'errors' | 'attributeValue' | AttributeValueUpdateKeySpecifier)[]; export type AttributeValueUpdateFieldPolicy = { @@ -537,8 +596,12 @@ export type CategoryCreateFieldPolicy = { errors?: FieldPolicy | FieldReadFunction, category?: FieldPolicy | FieldReadFunction }; -export type CategoryCreatedKeySpecifier = ('category' | CategoryCreatedKeySpecifier)[]; +export type CategoryCreatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'category' | CategoryCreatedKeySpecifier)[]; export type CategoryCreatedFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, category?: FieldPolicy | FieldReadFunction }; export type CategoryDeleteKeySpecifier = ('productErrors' | 'errors' | 'category' | CategoryDeleteKeySpecifier)[]; @@ -547,8 +610,12 @@ export type CategoryDeleteFieldPolicy = { errors?: FieldPolicy | FieldReadFunction, category?: FieldPolicy | FieldReadFunction }; -export type CategoryDeletedKeySpecifier = ('category' | CategoryDeletedKeySpecifier)[]; +export type CategoryDeletedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'category' | CategoryDeletedKeySpecifier)[]; export type CategoryDeletedFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, category?: FieldPolicy | FieldReadFunction }; export type CategoryTranslatableContentKeySpecifier = ('id' | 'seoTitle' | 'seoDescription' | 'name' | 'description' | 'descriptionJson' | 'translation' | 'category' | CategoryTranslatableContentKeySpecifier)[]; @@ -584,8 +651,12 @@ export type CategoryUpdateFieldPolicy = { errors?: FieldPolicy | FieldReadFunction, category?: FieldPolicy | FieldReadFunction }; -export type CategoryUpdatedKeySpecifier = ('category' | CategoryUpdatedKeySpecifier)[]; +export type CategoryUpdatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'category' | CategoryUpdatedKeySpecifier)[]; export type CategoryUpdatedFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, category?: FieldPolicy | FieldReadFunction }; export type ChannelKeySpecifier = ('id' | 'name' | 'isActive' | 'currencyCode' | 'slug' | 'hasOrders' | 'defaultCountry' | ChannelKeySpecifier)[]; @@ -610,8 +681,12 @@ export type ChannelCreateFieldPolicy = { errors?: FieldPolicy | FieldReadFunction, channel?: FieldPolicy | FieldReadFunction }; -export type ChannelCreatedKeySpecifier = ('channel' | ChannelCreatedKeySpecifier)[]; +export type ChannelCreatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'channel' | ChannelCreatedKeySpecifier)[]; export type ChannelCreatedFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, channel?: FieldPolicy | FieldReadFunction }; export type ChannelDeactivateKeySpecifier = ('channel' | 'channelErrors' | 'errors' | ChannelDeactivateKeySpecifier)[]; @@ -626,8 +701,12 @@ export type ChannelDeleteFieldPolicy = { errors?: FieldPolicy | FieldReadFunction, channel?: FieldPolicy | FieldReadFunction }; -export type ChannelDeletedKeySpecifier = ('channel' | ChannelDeletedKeySpecifier)[]; +export type ChannelDeletedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'channel' | ChannelDeletedKeySpecifier)[]; export type ChannelDeletedFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, channel?: FieldPolicy | FieldReadFunction }; export type ChannelErrorKeySpecifier = ('field' | 'message' | 'code' | 'shippingZones' | ChannelErrorKeySpecifier)[]; @@ -637,8 +716,12 @@ export type ChannelErrorFieldPolicy = { code?: FieldPolicy | FieldReadFunction, shippingZones?: FieldPolicy | FieldReadFunction }; -export type ChannelStatusChangedKeySpecifier = ('channel' | ChannelStatusChangedKeySpecifier)[]; +export type ChannelStatusChangedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'channel' | ChannelStatusChangedKeySpecifier)[]; export type ChannelStatusChangedFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, channel?: FieldPolicy | FieldReadFunction }; export type ChannelUpdateKeySpecifier = ('channelErrors' | 'errors' | 'channel' | ChannelUpdateKeySpecifier)[]; @@ -647,8 +730,12 @@ export type ChannelUpdateFieldPolicy = { errors?: FieldPolicy | FieldReadFunction, channel?: FieldPolicy | FieldReadFunction }; -export type ChannelUpdatedKeySpecifier = ('channel' | ChannelUpdatedKeySpecifier)[]; +export type ChannelUpdatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'channel' | ChannelUpdatedKeySpecifier)[]; export type ChannelUpdatedFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, channel?: FieldPolicy | FieldReadFunction }; export type CheckoutKeySpecifier = ('id' | 'privateMetadata' | 'privateMetafield' | 'privateMetafields' | 'metadata' | 'metafield' | 'metafields' | 'created' | 'lastChange' | 'user' | 'channel' | 'billingAddress' | 'shippingAddress' | 'note' | 'discount' | 'discountName' | 'translatedDiscountName' | 'voucherCode' | 'availableShippingMethods' | 'shippingMethods' | 'availableCollectionPoints' | 'availablePaymentGateways' | 'email' | 'giftCards' | 'isShippingRequired' | 'quantity' | 'stockReservationExpires' | 'lines' | 'shippingPrice' | 'shippingMethod' | 'deliveryMethod' | 'subtotalPrice' | 'token' | 'totalPrice' | 'languageCode' | 'transactions' | CheckoutKeySpecifier)[]; @@ -728,8 +815,12 @@ export type CheckoutCreateFieldPolicy = { errors?: FieldPolicy | FieldReadFunction, checkout?: FieldPolicy | FieldReadFunction }; -export type CheckoutCreatedKeySpecifier = ('checkout' | CheckoutCreatedKeySpecifier)[]; +export type CheckoutCreatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'checkout' | CheckoutCreatedKeySpecifier)[]; export type CheckoutCreatedFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, checkout?: FieldPolicy | FieldReadFunction }; export type CheckoutCustomerAttachKeySpecifier = ('checkout' | 'checkoutErrors' | 'errors' | CheckoutCustomerAttachKeySpecifier)[]; @@ -770,12 +861,15 @@ export type CheckoutLanguageCodeUpdateFieldPolicy = { checkoutErrors?: FieldPolicy | FieldReadFunction, errors?: FieldPolicy | FieldReadFunction }; -export type CheckoutLineKeySpecifier = ('id' | 'variant' | 'quantity' | 'totalPrice' | 'requiresShipping' | CheckoutLineKeySpecifier)[]; +export type CheckoutLineKeySpecifier = ('id' | 'variant' | 'quantity' | 'unitPrice' | 'undiscountedUnitPrice' | 'totalPrice' | 'undiscountedTotalPrice' | 'requiresShipping' | CheckoutLineKeySpecifier)[]; export type CheckoutLineFieldPolicy = { id?: FieldPolicy | FieldReadFunction, variant?: FieldPolicy | FieldReadFunction, quantity?: FieldPolicy | FieldReadFunction, + unitPrice?: FieldPolicy | FieldReadFunction, + undiscountedUnitPrice?: FieldPolicy | FieldReadFunction, totalPrice?: FieldPolicy | FieldReadFunction, + undiscountedTotalPrice?: FieldPolicy | FieldReadFunction, requiresShipping?: FieldPolicy | FieldReadFunction }; export type CheckoutLineCountableConnectionKeySpecifier = ('pageInfo' | 'edges' | 'totalCount' | CheckoutLineCountableConnectionKeySpecifier)[]; @@ -837,8 +931,12 @@ export type CheckoutShippingMethodUpdateFieldPolicy = { checkoutErrors?: FieldPolicy | FieldReadFunction, errors?: FieldPolicy | FieldReadFunction }; -export type CheckoutUpdatedKeySpecifier = ('checkout' | CheckoutUpdatedKeySpecifier)[]; +export type CheckoutUpdatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'checkout' | CheckoutUpdatedKeySpecifier)[]; export type CheckoutUpdatedFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, checkout?: FieldPolicy | FieldReadFunction }; export type ChoiceValueKeySpecifier = ('raw' | 'verbose' | ChoiceValueKeySpecifier)[]; @@ -919,8 +1017,12 @@ export type CollectionCreateFieldPolicy = { errors?: FieldPolicy | FieldReadFunction, collection?: FieldPolicy | FieldReadFunction }; -export type CollectionCreatedKeySpecifier = ('collection' | CollectionCreatedKeySpecifier)[]; +export type CollectionCreatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'collection' | CollectionCreatedKeySpecifier)[]; export type CollectionCreatedFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, collection?: FieldPolicy | FieldReadFunction }; export type CollectionDeleteKeySpecifier = ('collectionErrors' | 'errors' | 'collection' | CollectionDeleteKeySpecifier)[]; @@ -929,8 +1031,12 @@ export type CollectionDeleteFieldPolicy = { errors?: FieldPolicy | FieldReadFunction, collection?: FieldPolicy | FieldReadFunction }; -export type CollectionDeletedKeySpecifier = ('collection' | CollectionDeletedKeySpecifier)[]; +export type CollectionDeletedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'collection' | CollectionDeletedKeySpecifier)[]; export type CollectionDeletedFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, collection?: FieldPolicy | FieldReadFunction }; export type CollectionErrorKeySpecifier = ('field' | 'message' | 'products' | 'code' | CollectionErrorKeySpecifier)[]; @@ -985,8 +1091,12 @@ export type CollectionUpdateFieldPolicy = { errors?: FieldPolicy | FieldReadFunction, collection?: FieldPolicy | FieldReadFunction }; -export type CollectionUpdatedKeySpecifier = ('collection' | CollectionUpdatedKeySpecifier)[]; +export type CollectionUpdatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'collection' | CollectionUpdatedKeySpecifier)[]; export type CollectionUpdatedFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, collection?: FieldPolicy | FieldReadFunction }; export type ConfigurationItemKeySpecifier = ('name' | 'value' | 'type' | 'helpText' | 'label' | ConfigurationItemKeySpecifier)[]; @@ -1044,8 +1154,12 @@ export type CustomerCreateFieldPolicy = { errors?: FieldPolicy | FieldReadFunction, user?: FieldPolicy | FieldReadFunction }; -export type CustomerCreatedKeySpecifier = ('user' | CustomerCreatedKeySpecifier)[]; +export type CustomerCreatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'user' | CustomerCreatedKeySpecifier)[]; export type CustomerCreatedFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, user?: FieldPolicy | FieldReadFunction }; export type CustomerDeleteKeySpecifier = ('accountErrors' | 'errors' | 'user' | CustomerDeleteKeySpecifier)[]; @@ -1072,8 +1186,12 @@ export type CustomerUpdateFieldPolicy = { errors?: FieldPolicy | FieldReadFunction, user?: FieldPolicy | FieldReadFunction }; -export type CustomerUpdatedKeySpecifier = ('user' | CustomerUpdatedKeySpecifier)[]; +export type CustomerUpdatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'user' | CustomerUpdatedKeySpecifier)[]; export type CustomerUpdatedFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, user?: FieldPolicy | FieldReadFunction }; export type DeactivateAllUserTokensKeySpecifier = ('accountErrors' | 'errors' | DeactivateAllUserTokensKeySpecifier)[]; @@ -1188,8 +1306,12 @@ export type DraftOrderCreateFieldPolicy = { errors?: FieldPolicy | FieldReadFunction, order?: FieldPolicy | FieldReadFunction }; -export type DraftOrderCreatedKeySpecifier = ('order' | DraftOrderCreatedKeySpecifier)[]; +export type DraftOrderCreatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'order' | DraftOrderCreatedKeySpecifier)[]; export type DraftOrderCreatedFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, order?: FieldPolicy | FieldReadFunction }; export type DraftOrderDeleteKeySpecifier = ('orderErrors' | 'errors' | 'order' | DraftOrderDeleteKeySpecifier)[]; @@ -1198,8 +1320,12 @@ export type DraftOrderDeleteFieldPolicy = { errors?: FieldPolicy | FieldReadFunction, order?: FieldPolicy | FieldReadFunction }; -export type DraftOrderDeletedKeySpecifier = ('order' | DraftOrderDeletedKeySpecifier)[]; +export type DraftOrderDeletedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'order' | DraftOrderDeletedKeySpecifier)[]; export type DraftOrderDeletedFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, order?: FieldPolicy | FieldReadFunction }; export type DraftOrderLinesBulkDeleteKeySpecifier = ('count' | 'orderErrors' | 'errors' | DraftOrderLinesBulkDeleteKeySpecifier)[]; @@ -1214,10 +1340,21 @@ export type DraftOrderUpdateFieldPolicy = { errors?: FieldPolicy | FieldReadFunction, order?: FieldPolicy | FieldReadFunction }; -export type DraftOrderUpdatedKeySpecifier = ('order' | DraftOrderUpdatedKeySpecifier)[]; +export type DraftOrderUpdatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'order' | DraftOrderUpdatedKeySpecifier)[]; export type DraftOrderUpdatedFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, order?: FieldPolicy | FieldReadFunction }; +export type EventKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | EventKeySpecifier)[]; +export type EventFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction +}; export type EventDeliveryKeySpecifier = ('id' | 'createdAt' | 'status' | 'eventType' | 'attempts' | 'payload' | EventDeliveryKeySpecifier)[]; export type EventDeliveryFieldPolicy = { id?: FieldPolicy | FieldReadFunction, @@ -1410,13 +1547,23 @@ export type FulfillmentCancelFieldPolicy = { orderErrors?: FieldPolicy | FieldReadFunction, errors?: FieldPolicy | FieldReadFunction }; -export type FulfillmentCanceledKeySpecifier = ('fulfillment' | FulfillmentCanceledKeySpecifier)[]; +export type FulfillmentCanceledKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'fulfillment' | 'order' | FulfillmentCanceledKeySpecifier)[]; export type FulfillmentCanceledFieldPolicy = { - fulfillment?: FieldPolicy | FieldReadFunction + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, + fulfillment?: FieldPolicy | FieldReadFunction, + order?: FieldPolicy | FieldReadFunction }; -export type FulfillmentCreatedKeySpecifier = ('fulfillment' | FulfillmentCreatedKeySpecifier)[]; +export type FulfillmentCreatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'fulfillment' | 'order' | FulfillmentCreatedKeySpecifier)[]; export type FulfillmentCreatedFieldPolicy = { - fulfillment?: FieldPolicy | FieldReadFunction + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, + fulfillment?: FieldPolicy | FieldReadFunction, + order?: FieldPolicy | FieldReadFunction }; export type FulfillmentLineKeySpecifier = ('id' | 'quantity' | 'orderLine' | FulfillmentLineKeySpecifier)[]; export type FulfillmentLineFieldPolicy = { @@ -1533,8 +1680,12 @@ export type GiftCardCreateFieldPolicy = { errors?: FieldPolicy | FieldReadFunction, giftCard?: FieldPolicy | FieldReadFunction }; -export type GiftCardCreatedKeySpecifier = ('giftCard' | GiftCardCreatedKeySpecifier)[]; +export type GiftCardCreatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'giftCard' | GiftCardCreatedKeySpecifier)[]; export type GiftCardCreatedFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, giftCard?: FieldPolicy | FieldReadFunction }; export type GiftCardDeactivateKeySpecifier = ('giftCard' | 'giftCardErrors' | 'errors' | GiftCardDeactivateKeySpecifier)[]; @@ -1549,8 +1700,12 @@ export type GiftCardDeleteFieldPolicy = { errors?: FieldPolicy | FieldReadFunction, giftCard?: FieldPolicy | FieldReadFunction }; -export type GiftCardDeletedKeySpecifier = ('giftCard' | GiftCardDeletedKeySpecifier)[]; +export type GiftCardDeletedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'giftCard' | GiftCardDeletedKeySpecifier)[]; export type GiftCardDeletedFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, giftCard?: FieldPolicy | FieldReadFunction }; export type GiftCardErrorKeySpecifier = ('field' | 'message' | 'code' | 'tags' | GiftCardErrorKeySpecifier)[]; @@ -1605,8 +1760,12 @@ export type GiftCardSettingsUpdateFieldPolicy = { giftCardSettings?: FieldPolicy | FieldReadFunction, errors?: FieldPolicy | FieldReadFunction }; -export type GiftCardStatusChangedKeySpecifier = ('giftCard' | GiftCardStatusChangedKeySpecifier)[]; +export type GiftCardStatusChangedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'giftCard' | GiftCardStatusChangedKeySpecifier)[]; export type GiftCardStatusChangedFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, giftCard?: FieldPolicy | FieldReadFunction }; export type GiftCardTagKeySpecifier = ('id' | 'name' | GiftCardTagKeySpecifier)[]; @@ -1631,8 +1790,12 @@ export type GiftCardUpdateFieldPolicy = { errors?: FieldPolicy | FieldReadFunction, giftCard?: FieldPolicy | FieldReadFunction }; -export type GiftCardUpdatedKeySpecifier = ('giftCard' | GiftCardUpdatedKeySpecifier)[]; +export type GiftCardUpdatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'giftCard' | GiftCardUpdatedKeySpecifier)[]; export type GiftCardUpdatedFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, giftCard?: FieldPolicy | FieldReadFunction }; export type GroupKeySpecifier = ('id' | 'name' | 'users' | 'permissions' | 'userCanManage' | GroupKeySpecifier)[]; @@ -1688,8 +1851,12 @@ export type InvoiceDeleteFieldPolicy = { errors?: FieldPolicy | FieldReadFunction, invoice?: FieldPolicy | FieldReadFunction }; -export type InvoiceDeletedKeySpecifier = ('invoice' | InvoiceDeletedKeySpecifier)[]; +export type InvoiceDeletedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'invoice' | InvoiceDeletedKeySpecifier)[]; export type InvoiceDeletedFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, invoice?: FieldPolicy | FieldReadFunction }; export type InvoiceErrorKeySpecifier = ('field' | 'message' | 'code' | InvoiceErrorKeySpecifier)[]; @@ -1711,8 +1878,12 @@ export type InvoiceRequestDeleteFieldPolicy = { errors?: FieldPolicy | FieldReadFunction, invoice?: FieldPolicy | FieldReadFunction }; -export type InvoiceRequestedKeySpecifier = ('invoice' | InvoiceRequestedKeySpecifier)[]; +export type InvoiceRequestedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'invoice' | InvoiceRequestedKeySpecifier)[]; export type InvoiceRequestedFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, invoice?: FieldPolicy | FieldReadFunction }; export type InvoiceSendNotificationKeySpecifier = ('invoiceErrors' | 'errors' | 'invoice' | InvoiceSendNotificationKeySpecifier)[]; @@ -1721,8 +1892,12 @@ export type InvoiceSendNotificationFieldPolicy = { errors?: FieldPolicy | FieldReadFunction, invoice?: FieldPolicy | FieldReadFunction }; -export type InvoiceSentKeySpecifier = ('invoice' | InvoiceSentKeySpecifier)[]; +export type InvoiceSentKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'invoice' | InvoiceSentKeySpecifier)[]; export type InvoiceSentFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, invoice?: FieldPolicy | FieldReadFunction }; export type InvoiceUpdateKeySpecifier = ('invoiceErrors' | 'errors' | 'invoice' | InvoiceUpdateKeySpecifier)[]; @@ -1813,8 +1988,12 @@ export type MenuCreateFieldPolicy = { errors?: FieldPolicy | FieldReadFunction, menu?: FieldPolicy | FieldReadFunction }; -export type MenuCreatedKeySpecifier = ('menu' | MenuCreatedKeySpecifier)[]; +export type MenuCreatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'menu' | MenuCreatedKeySpecifier)[]; export type MenuCreatedFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, menu?: FieldPolicy | FieldReadFunction }; export type MenuDeleteKeySpecifier = ('menuErrors' | 'errors' | 'menu' | MenuDeleteKeySpecifier)[]; @@ -1823,8 +2002,12 @@ export type MenuDeleteFieldPolicy = { errors?: FieldPolicy | FieldReadFunction, menu?: FieldPolicy | FieldReadFunction }; -export type MenuDeletedKeySpecifier = ('menu' | MenuDeletedKeySpecifier)[]; +export type MenuDeletedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'menu' | MenuDeletedKeySpecifier)[]; export type MenuDeletedFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, menu?: FieldPolicy | FieldReadFunction }; export type MenuErrorKeySpecifier = ('field' | 'message' | 'code' | MenuErrorKeySpecifier)[]; @@ -1876,8 +2059,12 @@ export type MenuItemCreateFieldPolicy = { errors?: FieldPolicy | FieldReadFunction, menuItem?: FieldPolicy | FieldReadFunction }; -export type MenuItemCreatedKeySpecifier = ('menuItem' | MenuItemCreatedKeySpecifier)[]; +export type MenuItemCreatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'menuItem' | MenuItemCreatedKeySpecifier)[]; export type MenuItemCreatedFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, menuItem?: FieldPolicy | FieldReadFunction }; export type MenuItemDeleteKeySpecifier = ('menuErrors' | 'errors' | 'menuItem' | MenuItemDeleteKeySpecifier)[]; @@ -1886,8 +2073,12 @@ export type MenuItemDeleteFieldPolicy = { errors?: FieldPolicy | FieldReadFunction, menuItem?: FieldPolicy | FieldReadFunction }; -export type MenuItemDeletedKeySpecifier = ('menuItem' | MenuItemDeletedKeySpecifier)[]; +export type MenuItemDeletedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'menuItem' | MenuItemDeletedKeySpecifier)[]; export type MenuItemDeletedFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, menuItem?: FieldPolicy | FieldReadFunction }; export type MenuItemMoveKeySpecifier = ('menu' | 'menuErrors' | 'errors' | MenuItemMoveKeySpecifier)[]; @@ -1921,8 +2112,12 @@ export type MenuItemUpdateFieldPolicy = { errors?: FieldPolicy | FieldReadFunction, menuItem?: FieldPolicy | FieldReadFunction }; -export type MenuItemUpdatedKeySpecifier = ('menuItem' | MenuItemUpdatedKeySpecifier)[]; +export type MenuItemUpdatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'menuItem' | MenuItemUpdatedKeySpecifier)[]; export type MenuItemUpdatedFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, menuItem?: FieldPolicy | FieldReadFunction }; export type MenuUpdateKeySpecifier = ('menuErrors' | 'errors' | 'menu' | MenuUpdateKeySpecifier)[]; @@ -1931,8 +2126,12 @@ export type MenuUpdateFieldPolicy = { errors?: FieldPolicy | FieldReadFunction, menu?: FieldPolicy | FieldReadFunction }; -export type MenuUpdatedKeySpecifier = ('menu' | MenuUpdatedKeySpecifier)[]; +export type MenuUpdatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'menu' | MenuUpdatedKeySpecifier)[]; export type MenuUpdatedFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, menu?: FieldPolicy | FieldReadFunction }; export type MetadataErrorKeySpecifier = ('field' | 'message' | 'code' | MetadataErrorKeySpecifier)[]; @@ -2249,7 +2448,7 @@ export type ObjectWithMetadataFieldPolicy = { metafield?: FieldPolicy | FieldReadFunction, metafields?: FieldPolicy | FieldReadFunction }; -export type OrderKeySpecifier = ('id' | 'privateMetadata' | 'privateMetafield' | 'privateMetafields' | 'metadata' | 'metafield' | 'metafields' | 'created' | 'updatedAt' | 'status' | 'user' | 'trackingClientId' | 'billingAddress' | 'shippingAddress' | 'shippingMethodName' | 'collectionPointName' | 'channel' | 'fulfillments' | 'lines' | 'actions' | 'availableShippingMethods' | 'shippingMethods' | 'availableCollectionPoints' | 'invoices' | 'number' | 'original' | 'origin' | 'isPaid' | 'paymentStatus' | 'paymentStatusDisplay' | 'transactions' | 'payments' | 'total' | 'undiscountedTotal' | 'shippingMethod' | 'shippingPrice' | 'shippingTaxRate' | 'token' | 'voucher' | 'giftCards' | 'displayGrossPrices' | 'customerNote' | 'weight' | 'redirectUrl' | 'subtotal' | 'statusDisplay' | 'canFinalize' | 'totalAuthorized' | 'totalCaptured' | 'events' | 'totalBalance' | 'userEmail' | 'isShippingRequired' | 'deliveryMethod' | 'languageCode' | 'languageCodeEnum' | 'discount' | 'discountName' | 'translatedDiscountName' | 'discounts' | 'errors' | OrderKeySpecifier)[]; +export type OrderKeySpecifier = ('id' | 'privateMetadata' | 'privateMetafield' | 'privateMetafields' | 'metadata' | 'metafield' | 'metafields' | 'created' | 'updatedAt' | 'status' | 'user' | 'trackingClientId' | 'billingAddress' | 'shippingAddress' | 'shippingMethodName' | 'collectionPointName' | 'channel' | 'fulfillments' | 'lines' | 'actions' | 'availableShippingMethods' | 'shippingMethods' | 'availableCollectionPoints' | 'invoices' | 'number' | 'original' | 'origin' | 'isPaid' | 'paymentStatus' | 'paymentStatusDisplay' | 'authorizeStatus' | 'chargeStatus' | 'transactions' | 'payments' | 'total' | 'undiscountedTotal' | 'shippingMethod' | 'shippingPrice' | 'shippingTaxRate' | 'token' | 'voucher' | 'giftCards' | 'displayGrossPrices' | 'customerNote' | 'weight' | 'redirectUrl' | 'subtotal' | 'statusDisplay' | 'canFinalize' | 'totalAuthorized' | 'totalCaptured' | 'events' | 'totalBalance' | 'userEmail' | 'isShippingRequired' | 'deliveryMethod' | 'languageCode' | 'languageCodeEnum' | 'discount' | 'discountName' | 'translatedDiscountName' | 'discounts' | 'errors' | OrderKeySpecifier)[]; export type OrderFieldPolicy = { id?: FieldPolicy | FieldReadFunction, privateMetadata?: FieldPolicy | FieldReadFunction, @@ -2281,6 +2480,8 @@ export type OrderFieldPolicy = { isPaid?: FieldPolicy | FieldReadFunction, paymentStatus?: FieldPolicy | FieldReadFunction, paymentStatusDisplay?: FieldPolicy | FieldReadFunction, + authorizeStatus?: FieldPolicy | FieldReadFunction, + chargeStatus?: FieldPolicy | FieldReadFunction, transactions?: FieldPolicy | FieldReadFunction, payments?: FieldPolicy | FieldReadFunction, total?: FieldPolicy | FieldReadFunction, @@ -2332,8 +2533,12 @@ export type OrderCancelFieldPolicy = { orderErrors?: FieldPolicy | FieldReadFunction, errors?: FieldPolicy | FieldReadFunction }; -export type OrderCancelledKeySpecifier = ('order' | OrderCancelledKeySpecifier)[]; +export type OrderCancelledKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'order' | OrderCancelledKeySpecifier)[]; export type OrderCancelledFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, order?: FieldPolicy | FieldReadFunction }; export type OrderCaptureKeySpecifier = ('order' | 'orderErrors' | 'errors' | OrderCaptureKeySpecifier)[]; @@ -2348,8 +2553,12 @@ export type OrderConfirmFieldPolicy = { orderErrors?: FieldPolicy | FieldReadFunction, errors?: FieldPolicy | FieldReadFunction }; -export type OrderConfirmedKeySpecifier = ('order' | OrderConfirmedKeySpecifier)[]; +export type OrderConfirmedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'order' | OrderConfirmedKeySpecifier)[]; export type OrderConfirmedFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, order?: FieldPolicy | FieldReadFunction }; export type OrderCountableConnectionKeySpecifier = ('pageInfo' | 'edges' | 'totalCount' | OrderCountableConnectionKeySpecifier)[]; @@ -2376,8 +2585,12 @@ export type OrderCreateFromCheckoutErrorFieldPolicy = { variants?: FieldPolicy | FieldReadFunction, lines?: FieldPolicy | FieldReadFunction }; -export type OrderCreatedKeySpecifier = ('order' | OrderCreatedKeySpecifier)[]; +export type OrderCreatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'order' | OrderCreatedKeySpecifier)[]; export type OrderCreatedFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, order?: FieldPolicy | FieldReadFunction }; export type OrderDiscountKeySpecifier = ('id' | 'type' | 'name' | 'translatedName' | 'valueType' | 'value' | 'reason' | 'amount' | OrderDiscountKeySpecifier)[]; @@ -2482,12 +2695,20 @@ export type OrderFulfillFieldPolicy = { orderErrors?: FieldPolicy | FieldReadFunction, errors?: FieldPolicy | FieldReadFunction }; -export type OrderFulfilledKeySpecifier = ('order' | OrderFulfilledKeySpecifier)[]; +export type OrderFulfilledKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'order' | OrderFulfilledKeySpecifier)[]; export type OrderFulfilledFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, order?: FieldPolicy | FieldReadFunction }; -export type OrderFullyPaidKeySpecifier = ('order' | OrderFullyPaidKeySpecifier)[]; +export type OrderFullyPaidKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'order' | OrderFullyPaidKeySpecifier)[]; export type OrderFullyPaidFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, order?: FieldPolicy | FieldReadFunction }; export type OrderLineKeySpecifier = ('id' | 'productName' | 'variantName' | 'productSku' | 'productVariantId' | 'isShippingRequired' | 'quantity' | 'quantityFulfilled' | 'unitDiscountReason' | 'taxRate' | 'digitalContentUrl' | 'thumbnail' | 'unitPrice' | 'undiscountedUnitPrice' | 'unitDiscount' | 'unitDiscountValue' | 'totalPrice' | 'variant' | 'translatedProductName' | 'translatedVariantName' | 'allocations' | 'quantityToFulfill' | 'unitDiscountType' | OrderLineKeySpecifier)[]; @@ -2592,8 +2813,12 @@ export type OrderUpdateShippingFieldPolicy = { orderErrors?: FieldPolicy | FieldReadFunction, errors?: FieldPolicy | FieldReadFunction }; -export type OrderUpdatedKeySpecifier = ('order' | OrderUpdatedKeySpecifier)[]; +export type OrderUpdatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'order' | OrderUpdatedKeySpecifier)[]; export type OrderUpdatedFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, order?: FieldPolicy | FieldReadFunction }; export type OrderVoidKeySpecifier = ('order' | 'orderErrors' | 'errors' | OrderVoidKeySpecifier)[]; @@ -2666,8 +2891,12 @@ export type PageCreateFieldPolicy = { errors?: FieldPolicy | FieldReadFunction, page?: FieldPolicy | FieldReadFunction }; -export type PageCreatedKeySpecifier = ('page' | PageCreatedKeySpecifier)[]; +export type PageCreatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'page' | PageCreatedKeySpecifier)[]; export type PageCreatedFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, page?: FieldPolicy | FieldReadFunction }; export type PageDeleteKeySpecifier = ('pageErrors' | 'errors' | 'page' | PageDeleteKeySpecifier)[]; @@ -2676,8 +2905,12 @@ export type PageDeleteFieldPolicy = { errors?: FieldPolicy | FieldReadFunction, page?: FieldPolicy | FieldReadFunction }; -export type PageDeletedKeySpecifier = ('page' | PageDeletedKeySpecifier)[]; +export type PageDeletedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'page' | PageDeletedKeySpecifier)[]; export type PageDeletedFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, page?: FieldPolicy | FieldReadFunction }; export type PageErrorKeySpecifier = ('field' | 'message' | 'code' | 'attributes' | 'values' | PageErrorKeySpecifier)[]; @@ -2767,12 +3000,28 @@ export type PageTypeCreateFieldPolicy = { errors?: FieldPolicy | FieldReadFunction, pageType?: FieldPolicy | FieldReadFunction }; +export type PageTypeCreatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'pageType' | PageTypeCreatedKeySpecifier)[]; +export type PageTypeCreatedFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, + pageType?: FieldPolicy | FieldReadFunction +}; export type PageTypeDeleteKeySpecifier = ('pageErrors' | 'errors' | 'pageType' | PageTypeDeleteKeySpecifier)[]; export type PageTypeDeleteFieldPolicy = { pageErrors?: FieldPolicy | FieldReadFunction, errors?: FieldPolicy | FieldReadFunction, pageType?: FieldPolicy | FieldReadFunction }; +export type PageTypeDeletedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'pageType' | PageTypeDeletedKeySpecifier)[]; +export type PageTypeDeletedFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, + pageType?: FieldPolicy | FieldReadFunction +}; export type PageTypeReorderAttributesKeySpecifier = ('pageType' | 'pageErrors' | 'errors' | PageTypeReorderAttributesKeySpecifier)[]; export type PageTypeReorderAttributesFieldPolicy = { pageType?: FieldPolicy | FieldReadFunction, @@ -2785,14 +3034,26 @@ export type PageTypeUpdateFieldPolicy = { errors?: FieldPolicy | FieldReadFunction, pageType?: FieldPolicy | FieldReadFunction }; +export type PageTypeUpdatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'pageType' | PageTypeUpdatedKeySpecifier)[]; +export type PageTypeUpdatedFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, + pageType?: FieldPolicy | FieldReadFunction +}; export type PageUpdateKeySpecifier = ('pageErrors' | 'errors' | 'page' | PageUpdateKeySpecifier)[]; export type PageUpdateFieldPolicy = { pageErrors?: FieldPolicy | FieldReadFunction, errors?: FieldPolicy | FieldReadFunction, page?: FieldPolicy | FieldReadFunction }; -export type PageUpdatedKeySpecifier = ('page' | PageUpdatedKeySpecifier)[]; +export type PageUpdatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'page' | PageUpdatedKeySpecifier)[]; export type PageUpdatedFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, page?: FieldPolicy | FieldReadFunction }; export type PasswordChangeKeySpecifier = ('user' | 'accountErrors' | 'errors' | PasswordChangeKeySpecifier)[]; @@ -3089,8 +3350,12 @@ export type ProductCreateFieldPolicy = { errors?: FieldPolicy | FieldReadFunction, product?: FieldPolicy | FieldReadFunction }; -export type ProductCreatedKeySpecifier = ('product' | 'category' | ProductCreatedKeySpecifier)[]; +export type ProductCreatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'product' | 'category' | ProductCreatedKeySpecifier)[]; export type ProductCreatedFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, product?: FieldPolicy | FieldReadFunction, category?: FieldPolicy | FieldReadFunction }; @@ -3100,8 +3365,12 @@ export type ProductDeleteFieldPolicy = { errors?: FieldPolicy | FieldReadFunction, product?: FieldPolicy | FieldReadFunction }; -export type ProductDeletedKeySpecifier = ('product' | 'category' | ProductDeletedKeySpecifier)[]; +export type ProductDeletedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'product' | 'category' | ProductDeletedKeySpecifier)[]; export type ProductDeletedFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, product?: FieldPolicy | FieldReadFunction, category?: FieldPolicy | FieldReadFunction }; @@ -3276,8 +3545,12 @@ export type ProductUpdateFieldPolicy = { errors?: FieldPolicy | FieldReadFunction, product?: FieldPolicy | FieldReadFunction }; -export type ProductUpdatedKeySpecifier = ('product' | 'category' | ProductUpdatedKeySpecifier)[]; +export type ProductUpdatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'product' | 'category' | ProductUpdatedKeySpecifier)[]; export type ProductUpdatedFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, product?: FieldPolicy | FieldReadFunction, category?: FieldPolicy | FieldReadFunction }; @@ -3313,8 +3586,12 @@ export type ProductVariantFieldPolicy = { created?: FieldPolicy | FieldReadFunction, updatedAt?: FieldPolicy | FieldReadFunction }; -export type ProductVariantBackInStockKeySpecifier = ('productVariant' | 'warehouse' | ProductVariantBackInStockKeySpecifier)[]; +export type ProductVariantBackInStockKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'productVariant' | 'warehouse' | ProductVariantBackInStockKeySpecifier)[]; export type ProductVariantBackInStockFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, productVariant?: FieldPolicy | FieldReadFunction, warehouse?: FieldPolicy | FieldReadFunction }; @@ -3363,8 +3640,12 @@ export type ProductVariantCreateFieldPolicy = { errors?: FieldPolicy | FieldReadFunction, productVariant?: FieldPolicy | FieldReadFunction }; -export type ProductVariantCreatedKeySpecifier = ('productVariant' | ProductVariantCreatedKeySpecifier)[]; +export type ProductVariantCreatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'productVariant' | ProductVariantCreatedKeySpecifier)[]; export type ProductVariantCreatedFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, productVariant?: FieldPolicy | FieldReadFunction }; export type ProductVariantDeleteKeySpecifier = ('productErrors' | 'errors' | 'productVariant' | ProductVariantDeleteKeySpecifier)[]; @@ -3373,12 +3654,20 @@ export type ProductVariantDeleteFieldPolicy = { errors?: FieldPolicy | FieldReadFunction, productVariant?: FieldPolicy | FieldReadFunction }; -export type ProductVariantDeletedKeySpecifier = ('productVariant' | ProductVariantDeletedKeySpecifier)[]; +export type ProductVariantDeletedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'productVariant' | ProductVariantDeletedKeySpecifier)[]; export type ProductVariantDeletedFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, productVariant?: FieldPolicy | FieldReadFunction }; -export type ProductVariantOutOfStockKeySpecifier = ('productVariant' | 'warehouse' | ProductVariantOutOfStockKeySpecifier)[]; +export type ProductVariantOutOfStockKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'productVariant' | 'warehouse' | ProductVariantOutOfStockKeySpecifier)[]; export type ProductVariantOutOfStockFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, productVariant?: FieldPolicy | FieldReadFunction, warehouse?: FieldPolicy | FieldReadFunction }; @@ -3449,8 +3738,12 @@ export type ProductVariantUpdateFieldPolicy = { errors?: FieldPolicy | FieldReadFunction, productVariant?: FieldPolicy | FieldReadFunction }; -export type ProductVariantUpdatedKeySpecifier = ('productVariant' | ProductVariantUpdatedKeySpecifier)[]; +export type ProductVariantUpdatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'productVariant' | ProductVariantUpdatedKeySpecifier)[]; export type ProductVariantUpdatedFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, productVariant?: FieldPolicy | FieldReadFunction }; export type QueryKeySpecifier = ('webhook' | 'webhookEvents' | 'webhookSamplePayload' | 'warehouse' | 'warehouses' | 'translations' | 'translation' | 'stock' | 'stocks' | 'shop' | 'orderSettings' | 'giftCardSettings' | 'shippingZone' | 'shippingZones' | 'digitalContent' | 'digitalContents' | 'categories' | 'category' | 'collection' | 'collections' | 'product' | 'products' | 'productType' | 'productTypes' | 'productVariant' | 'productVariants' | 'reportProductSales' | 'payment' | 'payments' | 'page' | 'pages' | 'pageType' | 'pageTypes' | 'homepageEvents' | 'order' | 'orders' | 'draftOrders' | 'ordersTotal' | 'orderByToken' | 'menu' | 'menus' | 'menuItem' | 'menuItems' | 'giftCard' | 'giftCards' | 'giftCardCurrencies' | 'giftCardTags' | 'plugin' | 'plugins' | 'sale' | 'sales' | 'voucher' | 'vouchers' | 'exportFile' | 'exportFiles' | 'taxTypes' | 'checkout' | 'checkouts' | 'checkoutLines' | 'channel' | 'channels' | 'attributes' | 'attribute' | 'appsInstallations' | 'apps' | 'app' | 'appExtensions' | 'appExtension' | 'addressValidationRules' | 'address' | 'customers' | 'permissionGroups' | 'permissionGroup' | 'me' | 'staffUsers' | 'user' | '_entities' | '_service' | QueryKeySpecifier)[]; @@ -3623,8 +3916,12 @@ export type SaleCreateFieldPolicy = { errors?: FieldPolicy | FieldReadFunction, sale?: FieldPolicy | FieldReadFunction }; -export type SaleCreatedKeySpecifier = ('sale' | SaleCreatedKeySpecifier)[]; +export type SaleCreatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'sale' | SaleCreatedKeySpecifier)[]; export type SaleCreatedFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, sale?: FieldPolicy | FieldReadFunction }; export type SaleDeleteKeySpecifier = ('discountErrors' | 'errors' | 'sale' | SaleDeleteKeySpecifier)[]; @@ -3633,8 +3930,12 @@ export type SaleDeleteFieldPolicy = { errors?: FieldPolicy | FieldReadFunction, sale?: FieldPolicy | FieldReadFunction }; -export type SaleDeletedKeySpecifier = ('sale' | SaleDeletedKeySpecifier)[]; +export type SaleDeletedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'sale' | SaleDeletedKeySpecifier)[]; export type SaleDeletedFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, sale?: FieldPolicy | FieldReadFunction }; export type SaleRemoveCataloguesKeySpecifier = ('sale' | 'discountErrors' | 'errors' | SaleRemoveCataloguesKeySpecifier)[]; @@ -3668,8 +3969,12 @@ export type SaleUpdateFieldPolicy = { errors?: FieldPolicy | FieldReadFunction, sale?: FieldPolicy | FieldReadFunction }; -export type SaleUpdatedKeySpecifier = ('sale' | SaleUpdatedKeySpecifier)[]; +export type SaleUpdatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'sale' | SaleUpdatedKeySpecifier)[]; export type SaleUpdatedFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, sale?: FieldPolicy | FieldReadFunction }; export type SelectedAttributeKeySpecifier = ('attribute' | 'values' | SelectedAttributeKeySpecifier)[]; @@ -3789,8 +4094,12 @@ export type ShippingPriceCreateFieldPolicy = { shippingErrors?: FieldPolicy | FieldReadFunction, errors?: FieldPolicy | FieldReadFunction }; -export type ShippingPriceCreatedKeySpecifier = ('shippingMethod' | 'shippingZone' | ShippingPriceCreatedKeySpecifier)[]; +export type ShippingPriceCreatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'shippingMethod' | 'shippingZone' | ShippingPriceCreatedKeySpecifier)[]; export type ShippingPriceCreatedFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, shippingMethod?: FieldPolicy | FieldReadFunction, shippingZone?: FieldPolicy | FieldReadFunction }; @@ -3801,8 +4110,12 @@ export type ShippingPriceDeleteFieldPolicy = { shippingErrors?: FieldPolicy | FieldReadFunction, errors?: FieldPolicy | FieldReadFunction }; -export type ShippingPriceDeletedKeySpecifier = ('shippingMethod' | 'shippingZone' | ShippingPriceDeletedKeySpecifier)[]; +export type ShippingPriceDeletedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'shippingMethod' | 'shippingZone' | ShippingPriceDeletedKeySpecifier)[]; export type ShippingPriceDeletedFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, shippingMethod?: FieldPolicy | FieldReadFunction, shippingZone?: FieldPolicy | FieldReadFunction }; @@ -3831,8 +4144,12 @@ export type ShippingPriceUpdateFieldPolicy = { shippingErrors?: FieldPolicy | FieldReadFunction, errors?: FieldPolicy | FieldReadFunction }; -export type ShippingPriceUpdatedKeySpecifier = ('shippingMethod' | 'shippingZone' | ShippingPriceUpdatedKeySpecifier)[]; +export type ShippingPriceUpdatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'shippingMethod' | 'shippingZone' | ShippingPriceUpdatedKeySpecifier)[]; export type ShippingPriceUpdatedFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, shippingMethod?: FieldPolicy | FieldReadFunction, shippingZone?: FieldPolicy | FieldReadFunction }; @@ -3877,8 +4194,12 @@ export type ShippingZoneCreateFieldPolicy = { errors?: FieldPolicy | FieldReadFunction, shippingZone?: FieldPolicy | FieldReadFunction }; -export type ShippingZoneCreatedKeySpecifier = ('shippingZone' | ShippingZoneCreatedKeySpecifier)[]; +export type ShippingZoneCreatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'shippingZone' | ShippingZoneCreatedKeySpecifier)[]; export type ShippingZoneCreatedFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, shippingZone?: FieldPolicy | FieldReadFunction }; export type ShippingZoneDeleteKeySpecifier = ('shippingErrors' | 'errors' | 'shippingZone' | ShippingZoneDeleteKeySpecifier)[]; @@ -3887,8 +4208,12 @@ export type ShippingZoneDeleteFieldPolicy = { errors?: FieldPolicy | FieldReadFunction, shippingZone?: FieldPolicy | FieldReadFunction }; -export type ShippingZoneDeletedKeySpecifier = ('shippingZone' | ShippingZoneDeletedKeySpecifier)[]; +export type ShippingZoneDeletedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'shippingZone' | ShippingZoneDeletedKeySpecifier)[]; export type ShippingZoneDeletedFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, shippingZone?: FieldPolicy | FieldReadFunction }; export type ShippingZoneUpdateKeySpecifier = ('shippingErrors' | 'errors' | 'shippingZone' | ShippingZoneUpdateKeySpecifier)[]; @@ -3897,8 +4222,12 @@ export type ShippingZoneUpdateFieldPolicy = { errors?: FieldPolicy | FieldReadFunction, shippingZone?: FieldPolicy | FieldReadFunction }; -export type ShippingZoneUpdatedKeySpecifier = ('shippingZone' | ShippingZoneUpdatedKeySpecifier)[]; +export type ShippingZoneUpdatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'shippingZone' | ShippingZoneUpdatedKeySpecifier)[]; export type ShippingZoneUpdatedFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, shippingZone?: FieldPolicy | FieldReadFunction }; export type ShopKeySpecifier = ('availablePaymentGateways' | 'availableExternalAuthentications' | 'availableShippingMethods' | 'channelCurrencies' | 'countries' | 'defaultCountry' | 'defaultMailSenderName' | 'defaultMailSenderAddress' | 'description' | 'domain' | 'languages' | 'name' | 'permissions' | 'phonePrefixes' | 'headerText' | 'includeTaxesInPrices' | 'fulfillmentAutoApprove' | 'fulfillmentAllowUnpaid' | 'displayGrossPrices' | 'chargeTaxesOnShipping' | 'trackInventoryByDefault' | 'defaultWeightUnit' | 'translation' | 'automaticFulfillmentDigitalProducts' | 'reserveStockDurationAnonymousUser' | 'reserveStockDurationAuthenticatedUser' | 'limitQuantityPerCheckout' | 'defaultDigitalMaxDownloads' | 'defaultDigitalUrlValidDays' | 'companyAddress' | 'customerSetPasswordUrl' | 'staffNotificationRecipients' | 'limits' | 'version' | ShopKeySpecifier)[]; @@ -4109,8 +4438,12 @@ export type TransactionActionFieldPolicy = { actionType?: FieldPolicy | FieldReadFunction, amount?: FieldPolicy | FieldReadFunction }; -export type TransactionActionRequestKeySpecifier = ('transaction' | 'action' | TransactionActionRequestKeySpecifier)[]; +export type TransactionActionRequestKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'transaction' | 'action' | TransactionActionRequestKeySpecifier)[]; export type TransactionActionRequestFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, transaction?: FieldPolicy | FieldReadFunction, action?: FieldPolicy | FieldReadFunction }; @@ -4133,7 +4466,7 @@ export type TransactionEventFieldPolicy = { reference?: FieldPolicy | FieldReadFunction, name?: FieldPolicy | FieldReadFunction }; -export type TransactionItemKeySpecifier = ('id' | 'privateMetadata' | 'privateMetafield' | 'privateMetafields' | 'metadata' | 'metafield' | 'metafields' | 'createdAt' | 'modifiedAt' | 'actions' | 'authorizedAmount' | 'refundedAmount' | 'voidedAmount' | 'capturedAmount' | 'status' | 'type' | 'reference' | 'events' | TransactionItemKeySpecifier)[]; +export type TransactionItemKeySpecifier = ('id' | 'privateMetadata' | 'privateMetafield' | 'privateMetafields' | 'metadata' | 'metafield' | 'metafields' | 'createdAt' | 'modifiedAt' | 'actions' | 'authorizedAmount' | 'refundedAmount' | 'voidedAmount' | 'chargedAmount' | 'status' | 'type' | 'reference' | 'events' | TransactionItemKeySpecifier)[]; export type TransactionItemFieldPolicy = { id?: FieldPolicy | FieldReadFunction, privateMetadata?: FieldPolicy | FieldReadFunction, @@ -4148,7 +4481,7 @@ export type TransactionItemFieldPolicy = { authorizedAmount?: FieldPolicy | FieldReadFunction, refundedAmount?: FieldPolicy | FieldReadFunction, voidedAmount?: FieldPolicy | FieldReadFunction, - capturedAmount?: FieldPolicy | FieldReadFunction, + chargedAmount?: FieldPolicy | FieldReadFunction, status?: FieldPolicy | FieldReadFunction, type?: FieldPolicy | FieldReadFunction, reference?: FieldPolicy | FieldReadFunction, @@ -4187,8 +4520,12 @@ export type TranslatableItemEdgeFieldPolicy = { node?: FieldPolicy | FieldReadFunction, cursor?: FieldPolicy | FieldReadFunction }; -export type TranslationCreatedKeySpecifier = ('translation' | TranslationCreatedKeySpecifier)[]; +export type TranslationCreatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'translation' | TranslationCreatedKeySpecifier)[]; export type TranslationCreatedFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, translation?: FieldPolicy | FieldReadFunction }; export type TranslationErrorKeySpecifier = ('field' | 'message' | 'code' | TranslationErrorKeySpecifier)[]; @@ -4197,8 +4534,12 @@ export type TranslationErrorFieldPolicy = { message?: FieldPolicy | FieldReadFunction, code?: FieldPolicy | FieldReadFunction }; -export type TranslationUpdatedKeySpecifier = ('translation' | TranslationUpdatedKeySpecifier)[]; +export type TranslationUpdatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'translation' | TranslationUpdatedKeySpecifier)[]; export type TranslationUpdatedFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, translation?: FieldPolicy | FieldReadFunction }; export type UpdateMetadataKeySpecifier = ('metadataErrors' | 'errors' | 'item' | UpdateMetadataKeySpecifier)[]; @@ -4219,7 +4560,7 @@ export type UploadErrorFieldPolicy = { message?: FieldPolicy | FieldReadFunction, code?: FieldPolicy | FieldReadFunction }; -export type UserKeySpecifier = ('id' | 'privateMetadata' | 'privateMetafield' | 'privateMetafields' | 'metadata' | 'metafield' | 'metafields' | 'email' | 'firstName' | 'lastName' | 'isStaff' | 'isActive' | 'addresses' | 'checkout' | 'checkoutTokens' | 'giftCards' | 'note' | 'orders' | 'userPermissions' | 'permissionGroups' | 'editableGroups' | 'avatar' | 'events' | 'storedPaymentSources' | 'languageCode' | 'defaultShippingAddress' | 'defaultBillingAddress' | 'lastLogin' | 'dateJoined' | 'updatedAt' | UserKeySpecifier)[]; +export type UserKeySpecifier = ('id' | 'privateMetadata' | 'privateMetafield' | 'privateMetafields' | 'metadata' | 'metafield' | 'metafields' | 'email' | 'firstName' | 'lastName' | 'isStaff' | 'isActive' | 'addresses' | 'checkout' | 'checkoutTokens' | 'checkoutIds' | 'giftCards' | 'note' | 'orders' | 'userPermissions' | 'permissionGroups' | 'editableGroups' | 'avatar' | 'events' | 'storedPaymentSources' | 'languageCode' | 'defaultShippingAddress' | 'defaultBillingAddress' | 'lastLogin' | 'dateJoined' | 'updatedAt' | UserKeySpecifier)[]; export type UserFieldPolicy = { id?: FieldPolicy | FieldReadFunction, privateMetadata?: FieldPolicy | FieldReadFunction, @@ -4236,6 +4577,7 @@ export type UserFieldPolicy = { addresses?: FieldPolicy | FieldReadFunction, checkout?: FieldPolicy | FieldReadFunction, checkoutTokens?: FieldPolicy | FieldReadFunction, + checkoutIds?: FieldPolicy | FieldReadFunction, giftCards?: FieldPolicy | FieldReadFunction, note?: FieldPolicy | FieldReadFunction, orders?: FieldPolicy | FieldReadFunction, @@ -4399,8 +4741,12 @@ export type VoucherCreateFieldPolicy = { errors?: FieldPolicy | FieldReadFunction, voucher?: FieldPolicy | FieldReadFunction }; -export type VoucherCreatedKeySpecifier = ('voucher' | VoucherCreatedKeySpecifier)[]; +export type VoucherCreatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'voucher' | VoucherCreatedKeySpecifier)[]; export type VoucherCreatedFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, voucher?: FieldPolicy | FieldReadFunction }; export type VoucherDeleteKeySpecifier = ('discountErrors' | 'errors' | 'voucher' | VoucherDeleteKeySpecifier)[]; @@ -4409,8 +4755,12 @@ export type VoucherDeleteFieldPolicy = { errors?: FieldPolicy | FieldReadFunction, voucher?: FieldPolicy | FieldReadFunction }; -export type VoucherDeletedKeySpecifier = ('voucher' | VoucherDeletedKeySpecifier)[]; +export type VoucherDeletedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'voucher' | VoucherDeletedKeySpecifier)[]; export type VoucherDeletedFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, voucher?: FieldPolicy | FieldReadFunction }; export type VoucherRemoveCataloguesKeySpecifier = ('voucher' | 'discountErrors' | 'errors' | VoucherRemoveCataloguesKeySpecifier)[]; @@ -4444,8 +4794,12 @@ export type VoucherUpdateFieldPolicy = { errors?: FieldPolicy | FieldReadFunction, voucher?: FieldPolicy | FieldReadFunction }; -export type VoucherUpdatedKeySpecifier = ('voucher' | VoucherUpdatedKeySpecifier)[]; +export type VoucherUpdatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'voucher' | VoucherUpdatedKeySpecifier)[]; export type VoucherUpdatedFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, voucher?: FieldPolicy | FieldReadFunction }; export type WarehouseKeySpecifier = ('id' | 'privateMetadata' | 'privateMetafield' | 'privateMetafields' | 'metadata' | 'metafield' | 'metafields' | 'name' | 'slug' | 'email' | 'isPrivate' | 'address' | 'companyName' | 'clickAndCollectOption' | 'shippingZones' | WarehouseKeySpecifier)[]; @@ -4483,12 +4837,28 @@ export type WarehouseCreateFieldPolicy = { errors?: FieldPolicy | FieldReadFunction, warehouse?: FieldPolicy | FieldReadFunction }; +export type WarehouseCreatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'warehouse' | WarehouseCreatedKeySpecifier)[]; +export type WarehouseCreatedFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, + warehouse?: FieldPolicy | FieldReadFunction +}; export type WarehouseDeleteKeySpecifier = ('warehouseErrors' | 'errors' | 'warehouse' | WarehouseDeleteKeySpecifier)[]; export type WarehouseDeleteFieldPolicy = { warehouseErrors?: FieldPolicy | FieldReadFunction, errors?: FieldPolicy | FieldReadFunction, warehouse?: FieldPolicy | FieldReadFunction }; +export type WarehouseDeletedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'warehouse' | WarehouseDeletedKeySpecifier)[]; +export type WarehouseDeletedFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, + warehouse?: FieldPolicy | FieldReadFunction +}; export type WarehouseErrorKeySpecifier = ('field' | 'message' | 'code' | WarehouseErrorKeySpecifier)[]; export type WarehouseErrorFieldPolicy = { field?: FieldPolicy | FieldReadFunction, @@ -4513,6 +4883,14 @@ export type WarehouseUpdateFieldPolicy = { errors?: FieldPolicy | FieldReadFunction, warehouse?: FieldPolicy | FieldReadFunction }; +export type WarehouseUpdatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'warehouse' | WarehouseUpdatedKeySpecifier)[]; +export type WarehouseUpdatedFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, + warehouse?: FieldPolicy | FieldReadFunction +}; export type WebhookKeySpecifier = ('id' | 'name' | 'events' | 'syncEvents' | 'asyncEvents' | 'app' | 'eventDeliveries' | 'targetUrl' | 'isActive' | 'secretKey' | 'subscriptionQuery' | WebhookKeySpecifier)[]; export type WebhookFieldPolicy = { id?: FieldPolicy | FieldReadFunction, @@ -4620,10 +4998,18 @@ export type StrictTypedTypePolicies = { keyFields?: false | AddressCreateKeySpecifier | (() => undefined | AddressCreateKeySpecifier), fields?: AddressCreateFieldPolicy, }, + AddressCreated?: Omit & { + keyFields?: false | AddressCreatedKeySpecifier | (() => undefined | AddressCreatedKeySpecifier), + fields?: AddressCreatedFieldPolicy, + }, AddressDelete?: Omit & { keyFields?: false | AddressDeleteKeySpecifier | (() => undefined | AddressDeleteKeySpecifier), fields?: AddressDeleteFieldPolicy, }, + AddressDeleted?: Omit & { + keyFields?: false | AddressDeletedKeySpecifier | (() => undefined | AddressDeletedKeySpecifier), + fields?: AddressDeletedFieldPolicy, + }, AddressSetDefault?: Omit & { keyFields?: false | AddressSetDefaultKeySpecifier | (() => undefined | AddressSetDefaultKeySpecifier), fields?: AddressSetDefaultFieldPolicy, @@ -4632,6 +5018,10 @@ export type StrictTypedTypePolicies = { keyFields?: false | AddressUpdateKeySpecifier | (() => undefined | AddressUpdateKeySpecifier), fields?: AddressUpdateFieldPolicy, }, + AddressUpdated?: Omit & { + keyFields?: false | AddressUpdatedKeySpecifier | (() => undefined | AddressUpdatedKeySpecifier), + fields?: AddressUpdatedFieldPolicy, + }, AddressValidationData?: Omit & { keyFields?: false | AddressValidationDataKeySpecifier | (() => undefined | AddressValidationDataKeySpecifier), fields?: AddressValidationDataFieldPolicy, @@ -4672,6 +5062,10 @@ export type StrictTypedTypePolicies = { keyFields?: false | AppDeleteFailedInstallationKeySpecifier | (() => undefined | AppDeleteFailedInstallationKeySpecifier), fields?: AppDeleteFailedInstallationFieldPolicy, }, + AppDeleted?: Omit & { + keyFields?: false | AppDeletedKeySpecifier | (() => undefined | AppDeletedKeySpecifier), + fields?: AppDeletedFieldPolicy, + }, AppError?: Omit & { keyFields?: false | AppErrorKeySpecifier | (() => undefined | AppErrorKeySpecifier), fields?: AppErrorFieldPolicy, @@ -4700,6 +5094,10 @@ export type StrictTypedTypePolicies = { keyFields?: false | AppInstallationKeySpecifier | (() => undefined | AppInstallationKeySpecifier), fields?: AppInstallationFieldPolicy, }, + AppInstalled?: Omit & { + keyFields?: false | AppInstalledKeySpecifier | (() => undefined | AppInstalledKeySpecifier), + fields?: AppInstalledFieldPolicy, + }, AppManifestExtension?: Omit & { keyFields?: false | AppManifestExtensionKeySpecifier | (() => undefined | AppManifestExtensionKeySpecifier), fields?: AppManifestExtensionFieldPolicy, @@ -4708,6 +5106,10 @@ export type StrictTypedTypePolicies = { keyFields?: false | AppRetryInstallKeySpecifier | (() => undefined | AppRetryInstallKeySpecifier), fields?: AppRetryInstallFieldPolicy, }, + AppStatusChanged?: Omit & { + keyFields?: false | AppStatusChangedKeySpecifier | (() => undefined | AppStatusChangedKeySpecifier), + fields?: AppStatusChangedFieldPolicy, + }, AppToken?: Omit & { keyFields?: false | AppTokenKeySpecifier | (() => undefined | AppTokenKeySpecifier), fields?: AppTokenFieldPolicy, @@ -4728,6 +5130,10 @@ export type StrictTypedTypePolicies = { keyFields?: false | AppUpdateKeySpecifier | (() => undefined | AppUpdateKeySpecifier), fields?: AppUpdateFieldPolicy, }, + AppUpdated?: Omit & { + keyFields?: false | AppUpdatedKeySpecifier | (() => undefined | AppUpdatedKeySpecifier), + fields?: AppUpdatedFieldPolicy, + }, AssignNavigation?: Omit & { keyFields?: false | AssignNavigationKeySpecifier | (() => undefined | AssignNavigationKeySpecifier), fields?: AssignNavigationFieldPolicy, @@ -5256,6 +5662,10 @@ export type StrictTypedTypePolicies = { keyFields?: false | DraftOrderUpdatedKeySpecifier | (() => undefined | DraftOrderUpdatedKeySpecifier), fields?: DraftOrderUpdatedFieldPolicy, }, + Event?: Omit & { + keyFields?: false | EventKeySpecifier | (() => undefined | EventKeySpecifier), + fields?: EventFieldPolicy, + }, EventDelivery?: Omit & { keyFields?: false | EventDeliveryKeySpecifier | (() => undefined | EventDeliveryKeySpecifier), fields?: EventDeliveryFieldPolicy, @@ -5964,10 +6374,18 @@ export type StrictTypedTypePolicies = { keyFields?: false | PageTypeCreateKeySpecifier | (() => undefined | PageTypeCreateKeySpecifier), fields?: PageTypeCreateFieldPolicy, }, + PageTypeCreated?: Omit & { + keyFields?: false | PageTypeCreatedKeySpecifier | (() => undefined | PageTypeCreatedKeySpecifier), + fields?: PageTypeCreatedFieldPolicy, + }, PageTypeDelete?: Omit & { keyFields?: false | PageTypeDeleteKeySpecifier | (() => undefined | PageTypeDeleteKeySpecifier), fields?: PageTypeDeleteFieldPolicy, }, + PageTypeDeleted?: Omit & { + keyFields?: false | PageTypeDeletedKeySpecifier | (() => undefined | PageTypeDeletedKeySpecifier), + fields?: PageTypeDeletedFieldPolicy, + }, PageTypeReorderAttributes?: Omit & { keyFields?: false | PageTypeReorderAttributesKeySpecifier | (() => undefined | PageTypeReorderAttributesKeySpecifier), fields?: PageTypeReorderAttributesFieldPolicy, @@ -5976,6 +6394,10 @@ export type StrictTypedTypePolicies = { keyFields?: false | PageTypeUpdateKeySpecifier | (() => undefined | PageTypeUpdateKeySpecifier), fields?: PageTypeUpdateFieldPolicy, }, + PageTypeUpdated?: Omit & { + keyFields?: false | PageTypeUpdatedKeySpecifier | (() => undefined | PageTypeUpdatedKeySpecifier), + fields?: PageTypeUpdatedFieldPolicy, + }, PageUpdate?: Omit & { keyFields?: false | PageUpdateKeySpecifier | (() => undefined | PageUpdateKeySpecifier), fields?: PageUpdateFieldPolicy, @@ -6856,10 +7278,18 @@ export type StrictTypedTypePolicies = { keyFields?: false | WarehouseCreateKeySpecifier | (() => undefined | WarehouseCreateKeySpecifier), fields?: WarehouseCreateFieldPolicy, }, + WarehouseCreated?: Omit & { + keyFields?: false | WarehouseCreatedKeySpecifier | (() => undefined | WarehouseCreatedKeySpecifier), + fields?: WarehouseCreatedFieldPolicy, + }, WarehouseDelete?: Omit & { keyFields?: false | WarehouseDeleteKeySpecifier | (() => undefined | WarehouseDeleteKeySpecifier), fields?: WarehouseDeleteFieldPolicy, }, + WarehouseDeleted?: Omit & { + keyFields?: false | WarehouseDeletedKeySpecifier | (() => undefined | WarehouseDeletedKeySpecifier), + fields?: WarehouseDeletedFieldPolicy, + }, WarehouseError?: Omit & { keyFields?: false | WarehouseErrorKeySpecifier | (() => undefined | WarehouseErrorKeySpecifier), fields?: WarehouseErrorFieldPolicy, @@ -6876,6 +7306,10 @@ export type StrictTypedTypePolicies = { keyFields?: false | WarehouseUpdateKeySpecifier | (() => undefined | WarehouseUpdateKeySpecifier), fields?: WarehouseUpdateFieldPolicy, }, + WarehouseUpdated?: Omit & { + keyFields?: false | WarehouseUpdatedKeySpecifier | (() => undefined | WarehouseUpdatedKeySpecifier), + fields?: WarehouseUpdatedFieldPolicy, + }, Webhook?: Omit & { keyFields?: false | WebhookKeySpecifier | (() => undefined | WebhookKeySpecifier), fields?: WebhookFieldPolicy, diff --git a/src/graphql/types.generated.ts b/src/graphql/types.generated.ts index b032fbdaf..1b0fbc9a2 100644 --- a/src/graphql/types.generated.ts +++ b/src/graphql/types.generated.ts @@ -374,6 +374,7 @@ export enum AttributeInputTypeEnum { REFERENCE = 'REFERENCE', NUMERIC = 'NUMERIC', RICH_TEXT = 'RICH_TEXT', + PLAIN_TEXT = 'PLAIN_TEXT', SWATCH = 'SWATCH', BOOLEAN = 'BOOLEAN', DATE = 'DATE', @@ -444,8 +445,14 @@ export type AttributeUpdateInput = { export type AttributeValueCreateInput = { /** Represent value of the attribute value (e.g. color values for swatch attributes). */ value?: InputMaybe; - /** Represents the text (JSON) of the attribute value. */ + /** + * Represents the text of the attribute value, includes formatting. + * + * Rich text format. For reference see https://editorjs.io/ + */ richText?: InputMaybe; + /** Represents the text of the attribute value, plain text without formating. */ + plainText?: InputMaybe; /** URL of the file attribute. Every time, a new value is created. */ fileUrl?: InputMaybe; /** File content type. */ @@ -472,6 +479,8 @@ export type AttributeValueInput = { references?: InputMaybe>; /** Text content in JSON format. */ richText?: InputMaybe; + /** Plain text content. */ + plainText?: InputMaybe; /** Represents the boolean value of the attribute value. */ boolean?: InputMaybe; /** Represents the date value of the attribute value. */ @@ -482,14 +491,27 @@ export type AttributeValueInput = { export type AttributeValueTranslationInput = { name?: InputMaybe; + /** + * Translated text. + * + * Rich text format. For reference see https://editorjs.io/ + */ richText?: InputMaybe; + /** Translated text. */ + plainText?: InputMaybe; }; export type AttributeValueUpdateInput = { /** Represent value of the attribute value (e.g. color values for swatch attributes). */ value?: InputMaybe; - /** Represents the text (JSON) of the attribute value. */ + /** + * Represents the text of the attribute value, includes formatting. + * + * Rich text format. For reference see https://editorjs.io/ + */ richText?: InputMaybe; + /** Represents the text of the attribute value, plain text without formating. */ + plainText?: InputMaybe; /** URL of the file attribute. Every time, a new value is created. */ fileUrl?: InputMaybe; /** File content type. */ @@ -538,7 +560,11 @@ export type CategoryFilterInput = { }; export type CategoryInput = { - /** Category description (JSON). */ + /** + * Category description. + * + * Rich text format. For reference see https://editorjs.io/ + */ description?: InputMaybe; /** Category name. */ name?: InputMaybe; @@ -744,7 +770,11 @@ export type CollectionCreateInput = { name?: InputMaybe; /** Slug of the collection. */ slug?: InputMaybe; - /** Description of the collection (JSON). */ + /** + * Description of the collection. + * + * Rich text format. For reference see https://editorjs.io/ + */ description?: InputMaybe; /** Background image file. */ backgroundImage?: InputMaybe; @@ -793,7 +823,11 @@ export type CollectionInput = { name?: InputMaybe; /** Slug of the collection. */ slug?: InputMaybe; - /** Description of the collection (JSON). */ + /** + * Description of the collection. + * + * Rich text format. For reference see https://editorjs.io/ + */ description?: InputMaybe; /** Background image file. */ backgroundImage?: InputMaybe; @@ -2708,6 +2742,49 @@ export type OrderAddNoteInput = { message: Scalars['String']; }; +/** + * Determine a current authorize status for order. + * + * We treat the order as fully authorized when the sum of authorized and charged funds + * cover the order.total. + * We treat the order as partially authorized when the sum of authorized and charged + * funds covers only part of the order.total + * We treat the order as not authorized when the sum of authorized and charged funds is + * 0. + * + * NONE - the funds are not authorized + * PARTIAL - the funds that are authorized or charged don't cover fully the order's + * total + * FULL - the funds that are authorized or charged fully cover the order's total + * + */ +export enum OrderAuthorizeStatusEnum { + NONE = 'NONE', + PARTIAL = 'PARTIAL', + FULL = 'FULL' +} + +/** + * Determine the current charge status for the order. + * + * We treat the order as overcharged when the charged amount is bigger that order.total + * We treat the order as fully charged when the charged amount is equal to order.total. + * We treat the order as partially charged when the charged amount covers only part of + * the order.total + * + * NONE - the funds are not charged. + * PARTIAL - the funds that are charged don't cover the order's total + * FULL - the funds that are charged fully cover the order's total + * OVERCHARGED - the charged funds are bigger than order's total + * + */ +export enum OrderChargeStatusEnum { + NONE = 'NONE', + PARTIAL = 'PARTIAL', + FULL = 'FULL', + OVERCHARGED = 'OVERCHARGED' +} + /** An enumeration. */ export enum OrderCreateFromCheckoutErrorCode { GRAPHQL_ERROR = 'GRAPHQL_ERROR', @@ -2863,6 +2940,8 @@ export type OrderFilterInput = { search?: InputMaybe; metadata?: InputMaybe>; channels?: InputMaybe>; + authorizeStatus?: InputMaybe>; + chargeStatus?: InputMaybe>; updatedAt?: InputMaybe; isClickAndCollect?: InputMaybe; isPreorder?: InputMaybe; @@ -3054,7 +3133,11 @@ export type PageCreateInput = { slug?: InputMaybe; /** Page title. */ title?: InputMaybe; - /** Page content in JSON format. */ + /** + * Page content. + * + * Rich text format. For reference see https://editorjs.io/ + */ content?: InputMaybe; /** List of attributes. */ attributes?: InputMaybe>; @@ -3101,7 +3184,11 @@ export type PageInput = { slug?: InputMaybe; /** Page title. */ title?: InputMaybe; - /** Page content in JSON format. */ + /** + * Page content. + * + * Rich text format. For reference see https://editorjs.io/ + */ content?: InputMaybe; /** List of attributes. */ attributes?: InputMaybe>; @@ -3157,6 +3244,11 @@ export type PageTranslationInput = { seoTitle?: InputMaybe; seoDescription?: InputMaybe; title?: InputMaybe; + /** + * Translated page content. + * + * Rich text format. For reference see https://editorjs.io/ + */ content?: InputMaybe; }; @@ -3275,6 +3367,7 @@ export enum PermissionEnum { MANAGE_STAFF = 'MANAGE_STAFF', IMPERSONATE_USER = 'IMPERSONATE_USER', MANAGE_APPS = 'MANAGE_APPS', + MANAGE_OBSERVABILITY = 'MANAGE_OBSERVABILITY', MANAGE_CHANNELS = 'MANAGE_CHANNELS', MANAGE_DISCOUNTS = 'MANAGE_DISCOUNTS', MANAGE_PLUGINS = 'MANAGE_PLUGINS', @@ -3500,7 +3593,11 @@ export type ProductCreateInput = { chargeTaxes?: InputMaybe; /** List of IDs of collections that the product belongs to. */ collections?: InputMaybe>; - /** Product description (JSON). */ + /** + * Product description. + * + * Rich text format. For reference see https://editorjs.io/ + */ description?: InputMaybe; /** Product name. */ name?: InputMaybe; @@ -3590,7 +3687,11 @@ export type ProductInput = { chargeTaxes?: InputMaybe; /** List of IDs of collections that the product belongs to. */ collections?: InputMaybe>; - /** Product description (JSON). */ + /** + * Product description. + * + * Rich text format. For reference see https://editorjs.io/ + */ description?: InputMaybe; /** Product name. */ name?: InputMaybe; @@ -4089,7 +4190,11 @@ export type ShippingPriceInput = { export type ShippingPriceTranslationInput = { name?: InputMaybe; - /** Translated shipping method description (JSON). */ + /** + * Translated shipping method description. + * + * Rich text format. For reference see https://editorjs.io/ + */ description?: InputMaybe; }; @@ -4328,13 +4433,13 @@ export enum TimePeriodTypeEnum { * Represents possible actions on payment transaction. * * The following actions are possible: - * CAPTURE - Represents the capture action. + * CHARGE - Represents the charge action. * REFUND - Represents a refund action. * VOID - Represents a void action. * */ export enum TransactionActionEnum { - CAPTURE = 'CAPTURE', + CHARGE = 'CHARGE', REFUND = 'REFUND', VOID = 'VOID' } @@ -4359,8 +4464,8 @@ export type TransactionCreateInput = { availableActions?: InputMaybe>; /** Amount authorized by this transaction. */ amountAuthorized?: InputMaybe; - /** Amount captured by this transaction. */ - amountCaptured?: InputMaybe; + /** Amount charged by this transaction. */ + amountCharged?: InputMaybe; /** Amount refunded by this transaction. */ amountRefunded?: InputMaybe; /** Amount voided by this transaction. */ @@ -4429,8 +4534,8 @@ export type TransactionUpdateInput = { availableActions?: InputMaybe>; /** Amount authorized by this transaction. */ amountAuthorized?: InputMaybe; - /** Amount captured by this transaction. */ - amountCaptured?: InputMaybe; + /** Amount charged by this transaction. */ + amountCharged?: InputMaybe; /** Amount refunded by this transaction. */ amountRefunded?: InputMaybe; /** Amount voided by this transaction. */ @@ -4467,6 +4572,11 @@ export type TranslationInput = { seoTitle?: InputMaybe; seoDescription?: InputMaybe; name?: InputMaybe; + /** + * Translated description. + * + * Rich text format. For reference see https://editorjs.io/ + */ description?: InputMaybe; }; @@ -4784,6 +4894,20 @@ export enum WebhookErrorCode { export enum WebhookEventTypeAsyncEnum { /** All the events. */ ANY_EVENTS = 'ANY_EVENTS', + /** A new address created. */ + ADDRESS_CREATED = 'ADDRESS_CREATED', + /** An address updated. */ + ADDRESS_UPDATED = 'ADDRESS_UPDATED', + /** An address deleted. */ + ADDRESS_DELETED = 'ADDRESS_DELETED', + /** A new app installed. */ + APP_INSTALLED = 'APP_INSTALLED', + /** An app updated. */ + APP_UPDATED = 'APP_UPDATED', + /** An app deleted. */ + APP_DELETED = 'APP_DELETED', + /** An app status is changed. */ + APP_STATUS_CHANGED = 'APP_STATUS_CHANGED', /** A new category created. */ CATEGORY_CREATED = 'CATEGORY_CREATED', /** A category is updated. */ @@ -4882,6 +5006,12 @@ export enum WebhookEventTypeAsyncEnum { PAGE_UPDATED = 'PAGE_UPDATED', /** A page is deleted. */ PAGE_DELETED = 'PAGE_DELETED', + /** A new page type is created. */ + PAGE_TYPE_CREATED = 'PAGE_TYPE_CREATED', + /** A page type is updated. */ + PAGE_TYPE_UPDATED = 'PAGE_TYPE_UPDATED', + /** A page type is deleted. */ + PAGE_TYPE_DELETED = 'PAGE_TYPE_DELETED', /** A new shipping price is created. */ SHIPPING_PRICE_CREATED = 'SHIPPING_PRICE_CREATED', /** A shipping price is updated. */ @@ -4897,137 +5027,173 @@ export enum WebhookEventTypeAsyncEnum { TRANSACTION_ACTION_REQUEST = 'TRANSACTION_ACTION_REQUEST', TRANSLATION_CREATED = 'TRANSLATION_CREATED', TRANSLATION_UPDATED = 'TRANSLATION_UPDATED', - /** A new voucher created. */ - VOUCHER_CREATED = 'VOUCHER_CREATED', - /** A voucher is updated. */ - VOUCHER_UPDATED = 'VOUCHER_UPDATED', - /** A voucher is deleted. */ - VOUCHER_DELETED = 'VOUCHER_DELETED' -} - -/** Enum determining type of webhook. */ -export enum WebhookEventTypeEnum { - /** All the events. */ - ANY_EVENTS = 'ANY_EVENTS', - /** A new category created. */ - CATEGORY_CREATED = 'CATEGORY_CREATED', - /** A category is updated. */ - CATEGORY_UPDATED = 'CATEGORY_UPDATED', - /** A category is deleted. */ - CATEGORY_DELETED = 'CATEGORY_DELETED', - /** A new channel created. */ - CHANNEL_CREATED = 'CHANNEL_CREATED', - /** A channel is updated. */ - CHANNEL_UPDATED = 'CHANNEL_UPDATED', - /** A channel is deleted. */ - CHANNEL_DELETED = 'CHANNEL_DELETED', - /** A channel status is changed. */ - CHANNEL_STATUS_CHANGED = 'CHANNEL_STATUS_CHANGED', - /** A new gift card created. */ - GIFT_CARD_CREATED = 'GIFT_CARD_CREATED', - /** A gift card is updated. */ - GIFT_CARD_UPDATED = 'GIFT_CARD_UPDATED', - /** A gift card is deleted. */ - GIFT_CARD_DELETED = 'GIFT_CARD_DELETED', - /** A gift card status is changed. */ - GIFT_CARD_STATUS_CHANGED = 'GIFT_CARD_STATUS_CHANGED', - /** A new menu created. */ - MENU_CREATED = 'MENU_CREATED', - /** A menu is updated. */ - MENU_UPDATED = 'MENU_UPDATED', - /** A menu is deleted. */ - MENU_DELETED = 'MENU_DELETED', - /** A new menu item created. */ - MENU_ITEM_CREATED = 'MENU_ITEM_CREATED', - /** A menu item is updated. */ - MENU_ITEM_UPDATED = 'MENU_ITEM_UPDATED', - /** A menu item is deleted. */ - MENU_ITEM_DELETED = 'MENU_ITEM_DELETED', - /** A new order is placed. */ - ORDER_CREATED = 'ORDER_CREATED', - /** An order is confirmed (status change unconfirmed -> unfulfilled) by a staff user using the OrderConfirm mutation. It also triggers when the user completes the checkout and the shop setting `automatically_confirm_all_new_orders` is enabled. */ - ORDER_CONFIRMED = 'ORDER_CONFIRMED', - /** Payment is made and an order is fully paid. */ - ORDER_FULLY_PAID = 'ORDER_FULLY_PAID', - /** An order is updated; triggered for all changes related to an order; covers all other order webhooks, except for ORDER_CREATED. */ - ORDER_UPDATED = 'ORDER_UPDATED', - /** An order is cancelled. */ - ORDER_CANCELLED = 'ORDER_CANCELLED', - /** An order is fulfilled. */ - ORDER_FULFILLED = 'ORDER_FULFILLED', - DRAFT_ORDER_CREATED = 'DRAFT_ORDER_CREATED', - DRAFT_ORDER_UPDATED = 'DRAFT_ORDER_UPDATED', - DRAFT_ORDER_DELETED = 'DRAFT_ORDER_DELETED', - SALE_CREATED = 'SALE_CREATED', - SALE_UPDATED = 'SALE_UPDATED', - SALE_DELETED = 'SALE_DELETED', - /** An invoice for order requested. */ - INVOICE_REQUESTED = 'INVOICE_REQUESTED', - /** An invoice is deleted. */ - INVOICE_DELETED = 'INVOICE_DELETED', - /** Invoice has been sent. */ - INVOICE_SENT = 'INVOICE_SENT', - /** A new customer account is created. */ - CUSTOMER_CREATED = 'CUSTOMER_CREATED', - /** A customer account is updated. */ - CUSTOMER_UPDATED = 'CUSTOMER_UPDATED', - /** A new collection is created. */ - COLLECTION_CREATED = 'COLLECTION_CREATED', - /** A collection is updated. */ - COLLECTION_UPDATED = 'COLLECTION_UPDATED', - /** A collection is deleted. */ - COLLECTION_DELETED = 'COLLECTION_DELETED', - /** A new product is created. */ - PRODUCT_CREATED = 'PRODUCT_CREATED', - /** A product is updated. */ - PRODUCT_UPDATED = 'PRODUCT_UPDATED', - /** A product is deleted. */ - PRODUCT_DELETED = 'PRODUCT_DELETED', - /** A new product variant is created. */ - PRODUCT_VARIANT_CREATED = 'PRODUCT_VARIANT_CREATED', - /** A product variant is updated. */ - PRODUCT_VARIANT_UPDATED = 'PRODUCT_VARIANT_UPDATED', - /** A product variant is deleted. */ - PRODUCT_VARIANT_DELETED = 'PRODUCT_VARIANT_DELETED', - PRODUCT_VARIANT_OUT_OF_STOCK = 'PRODUCT_VARIANT_OUT_OF_STOCK', - PRODUCT_VARIANT_BACK_IN_STOCK = 'PRODUCT_VARIANT_BACK_IN_STOCK', - /** A new checkout is created. */ - CHECKOUT_CREATED = 'CHECKOUT_CREATED', - /** A checkout is updated. It also triggers all updates related to the checkout. */ - CHECKOUT_UPDATED = 'CHECKOUT_UPDATED', - /** A new fulfillment is created. */ - FULFILLMENT_CREATED = 'FULFILLMENT_CREATED', - /** A fulfillment is cancelled. */ - FULFILLMENT_CANCELED = 'FULFILLMENT_CANCELED', - /** User notification triggered. */ - NOTIFY_USER = 'NOTIFY_USER', - /** A new page is created. */ - PAGE_CREATED = 'PAGE_CREATED', - /** A page is updated. */ - PAGE_UPDATED = 'PAGE_UPDATED', - /** A page is deleted. */ - PAGE_DELETED = 'PAGE_DELETED', - /** A new shipping price is created. */ - SHIPPING_PRICE_CREATED = 'SHIPPING_PRICE_CREATED', - /** A shipping price is updated. */ - SHIPPING_PRICE_UPDATED = 'SHIPPING_PRICE_UPDATED', - /** A shipping price is deleted. */ - SHIPPING_PRICE_DELETED = 'SHIPPING_PRICE_DELETED', - /** A new shipping zone is created. */ - SHIPPING_ZONE_CREATED = 'SHIPPING_ZONE_CREATED', - /** A shipping zone is updated. */ - SHIPPING_ZONE_UPDATED = 'SHIPPING_ZONE_UPDATED', - /** A shipping zone is deleted. */ - SHIPPING_ZONE_DELETED = 'SHIPPING_ZONE_DELETED', - TRANSACTION_ACTION_REQUEST = 'TRANSACTION_ACTION_REQUEST', - TRANSLATION_CREATED = 'TRANSLATION_CREATED', - TRANSLATION_UPDATED = 'TRANSLATION_UPDATED', + /** A new warehouse created. */ + WAREHOUSE_CREATED = 'WAREHOUSE_CREATED', + /** A warehouse is updated. */ + WAREHOUSE_UPDATED = 'WAREHOUSE_UPDATED', + /** A warehouse is deleted. */ + WAREHOUSE_DELETED = 'WAREHOUSE_DELETED', /** A new voucher created. */ VOUCHER_CREATED = 'VOUCHER_CREATED', /** A voucher is updated. */ VOUCHER_UPDATED = 'VOUCHER_UPDATED', /** A voucher is deleted. */ VOUCHER_DELETED = 'VOUCHER_DELETED', + /** An observability event is created. */ + OBSERVABILITY = 'OBSERVABILITY' +} + +/** Enum determining type of webhook. */ +export enum WebhookEventTypeEnum { + /** All the events. */ + ANY_EVENTS = 'ANY_EVENTS', + /** A new address created. */ + ADDRESS_CREATED = 'ADDRESS_CREATED', + /** An address updated. */ + ADDRESS_UPDATED = 'ADDRESS_UPDATED', + /** An address deleted. */ + ADDRESS_DELETED = 'ADDRESS_DELETED', + /** A new app installed. */ + APP_INSTALLED = 'APP_INSTALLED', + /** An app updated. */ + APP_UPDATED = 'APP_UPDATED', + /** An app deleted. */ + APP_DELETED = 'APP_DELETED', + /** An app status is changed. */ + APP_STATUS_CHANGED = 'APP_STATUS_CHANGED', + /** A new category created. */ + CATEGORY_CREATED = 'CATEGORY_CREATED', + /** A category is updated. */ + CATEGORY_UPDATED = 'CATEGORY_UPDATED', + /** A category is deleted. */ + CATEGORY_DELETED = 'CATEGORY_DELETED', + /** A new channel created. */ + CHANNEL_CREATED = 'CHANNEL_CREATED', + /** A channel is updated. */ + CHANNEL_UPDATED = 'CHANNEL_UPDATED', + /** A channel is deleted. */ + CHANNEL_DELETED = 'CHANNEL_DELETED', + /** A channel status is changed. */ + CHANNEL_STATUS_CHANGED = 'CHANNEL_STATUS_CHANGED', + /** A new gift card created. */ + GIFT_CARD_CREATED = 'GIFT_CARD_CREATED', + /** A gift card is updated. */ + GIFT_CARD_UPDATED = 'GIFT_CARD_UPDATED', + /** A gift card is deleted. */ + GIFT_CARD_DELETED = 'GIFT_CARD_DELETED', + /** A gift card status is changed. */ + GIFT_CARD_STATUS_CHANGED = 'GIFT_CARD_STATUS_CHANGED', + /** A new menu created. */ + MENU_CREATED = 'MENU_CREATED', + /** A menu is updated. */ + MENU_UPDATED = 'MENU_UPDATED', + /** A menu is deleted. */ + MENU_DELETED = 'MENU_DELETED', + /** A new menu item created. */ + MENU_ITEM_CREATED = 'MENU_ITEM_CREATED', + /** A menu item is updated. */ + MENU_ITEM_UPDATED = 'MENU_ITEM_UPDATED', + /** A menu item is deleted. */ + MENU_ITEM_DELETED = 'MENU_ITEM_DELETED', + /** A new order is placed. */ + ORDER_CREATED = 'ORDER_CREATED', + /** An order is confirmed (status change unconfirmed -> unfulfilled) by a staff user using the OrderConfirm mutation. It also triggers when the user completes the checkout and the shop setting `automatically_confirm_all_new_orders` is enabled. */ + ORDER_CONFIRMED = 'ORDER_CONFIRMED', + /** Payment is made and an order is fully paid. */ + ORDER_FULLY_PAID = 'ORDER_FULLY_PAID', + /** An order is updated; triggered for all changes related to an order; covers all other order webhooks, except for ORDER_CREATED. */ + ORDER_UPDATED = 'ORDER_UPDATED', + /** An order is cancelled. */ + ORDER_CANCELLED = 'ORDER_CANCELLED', + /** An order is fulfilled. */ + ORDER_FULFILLED = 'ORDER_FULFILLED', + DRAFT_ORDER_CREATED = 'DRAFT_ORDER_CREATED', + DRAFT_ORDER_UPDATED = 'DRAFT_ORDER_UPDATED', + DRAFT_ORDER_DELETED = 'DRAFT_ORDER_DELETED', + SALE_CREATED = 'SALE_CREATED', + SALE_UPDATED = 'SALE_UPDATED', + SALE_DELETED = 'SALE_DELETED', + /** An invoice for order requested. */ + INVOICE_REQUESTED = 'INVOICE_REQUESTED', + /** An invoice is deleted. */ + INVOICE_DELETED = 'INVOICE_DELETED', + /** Invoice has been sent. */ + INVOICE_SENT = 'INVOICE_SENT', + /** A new customer account is created. */ + CUSTOMER_CREATED = 'CUSTOMER_CREATED', + /** A customer account is updated. */ + CUSTOMER_UPDATED = 'CUSTOMER_UPDATED', + /** A new collection is created. */ + COLLECTION_CREATED = 'COLLECTION_CREATED', + /** A collection is updated. */ + COLLECTION_UPDATED = 'COLLECTION_UPDATED', + /** A collection is deleted. */ + COLLECTION_DELETED = 'COLLECTION_DELETED', + /** A new product is created. */ + PRODUCT_CREATED = 'PRODUCT_CREATED', + /** A product is updated. */ + PRODUCT_UPDATED = 'PRODUCT_UPDATED', + /** A product is deleted. */ + PRODUCT_DELETED = 'PRODUCT_DELETED', + /** A new product variant is created. */ + PRODUCT_VARIANT_CREATED = 'PRODUCT_VARIANT_CREATED', + /** A product variant is updated. */ + PRODUCT_VARIANT_UPDATED = 'PRODUCT_VARIANT_UPDATED', + /** A product variant is deleted. */ + PRODUCT_VARIANT_DELETED = 'PRODUCT_VARIANT_DELETED', + PRODUCT_VARIANT_OUT_OF_STOCK = 'PRODUCT_VARIANT_OUT_OF_STOCK', + PRODUCT_VARIANT_BACK_IN_STOCK = 'PRODUCT_VARIANT_BACK_IN_STOCK', + /** A new checkout is created. */ + CHECKOUT_CREATED = 'CHECKOUT_CREATED', + /** A checkout is updated. It also triggers all updates related to the checkout. */ + CHECKOUT_UPDATED = 'CHECKOUT_UPDATED', + /** A new fulfillment is created. */ + FULFILLMENT_CREATED = 'FULFILLMENT_CREATED', + /** A fulfillment is cancelled. */ + FULFILLMENT_CANCELED = 'FULFILLMENT_CANCELED', + /** User notification triggered. */ + NOTIFY_USER = 'NOTIFY_USER', + /** A new page is created. */ + PAGE_CREATED = 'PAGE_CREATED', + /** A page is updated. */ + PAGE_UPDATED = 'PAGE_UPDATED', + /** A page is deleted. */ + PAGE_DELETED = 'PAGE_DELETED', + /** A new page type is created. */ + PAGE_TYPE_CREATED = 'PAGE_TYPE_CREATED', + /** A page type is updated. */ + PAGE_TYPE_UPDATED = 'PAGE_TYPE_UPDATED', + /** A page type is deleted. */ + PAGE_TYPE_DELETED = 'PAGE_TYPE_DELETED', + /** A new shipping price is created. */ + SHIPPING_PRICE_CREATED = 'SHIPPING_PRICE_CREATED', + /** A shipping price is updated. */ + SHIPPING_PRICE_UPDATED = 'SHIPPING_PRICE_UPDATED', + /** A shipping price is deleted. */ + SHIPPING_PRICE_DELETED = 'SHIPPING_PRICE_DELETED', + /** A new shipping zone is created. */ + SHIPPING_ZONE_CREATED = 'SHIPPING_ZONE_CREATED', + /** A shipping zone is updated. */ + SHIPPING_ZONE_UPDATED = 'SHIPPING_ZONE_UPDATED', + /** A shipping zone is deleted. */ + SHIPPING_ZONE_DELETED = 'SHIPPING_ZONE_DELETED', + TRANSACTION_ACTION_REQUEST = 'TRANSACTION_ACTION_REQUEST', + TRANSLATION_CREATED = 'TRANSLATION_CREATED', + TRANSLATION_UPDATED = 'TRANSLATION_UPDATED', + /** A new warehouse created. */ + WAREHOUSE_CREATED = 'WAREHOUSE_CREATED', + /** A warehouse is updated. */ + WAREHOUSE_UPDATED = 'WAREHOUSE_UPDATED', + /** A warehouse is deleted. */ + WAREHOUSE_DELETED = 'WAREHOUSE_DELETED', + /** A new voucher created. */ + VOUCHER_CREATED = 'VOUCHER_CREATED', + /** A voucher is updated. */ + VOUCHER_UPDATED = 'VOUCHER_UPDATED', + /** A voucher is deleted. */ + VOUCHER_DELETED = 'VOUCHER_DELETED', + /** An observability event is created. */ + OBSERVABILITY = 'OBSERVABILITY', PAYMENT_AUTHORIZE = 'PAYMENT_AUTHORIZE', PAYMENT_CAPTURE = 'PAYMENT_CAPTURE', PAYMENT_CONFIRM = 'PAYMENT_CONFIRM', @@ -5056,6 +5222,13 @@ export enum WebhookEventTypeSyncEnum { /** An enumeration. */ export enum WebhookSampleEventTypeEnum { + ADDRESS_CREATED = 'ADDRESS_CREATED', + ADDRESS_UPDATED = 'ADDRESS_UPDATED', + ADDRESS_DELETED = 'ADDRESS_DELETED', + APP_INSTALLED = 'APP_INSTALLED', + APP_UPDATED = 'APP_UPDATED', + APP_DELETED = 'APP_DELETED', + APP_STATUS_CHANGED = 'APP_STATUS_CHANGED', CATEGORY_CREATED = 'CATEGORY_CREATED', CATEGORY_UPDATED = 'CATEGORY_UPDATED', CATEGORY_DELETED = 'CATEGORY_DELETED', @@ -5109,6 +5282,9 @@ export enum WebhookSampleEventTypeEnum { PAGE_CREATED = 'PAGE_CREATED', PAGE_UPDATED = 'PAGE_UPDATED', PAGE_DELETED = 'PAGE_DELETED', + PAGE_TYPE_CREATED = 'PAGE_TYPE_CREATED', + PAGE_TYPE_UPDATED = 'PAGE_TYPE_UPDATED', + PAGE_TYPE_DELETED = 'PAGE_TYPE_DELETED', SHIPPING_PRICE_CREATED = 'SHIPPING_PRICE_CREATED', SHIPPING_PRICE_UPDATED = 'SHIPPING_PRICE_UPDATED', SHIPPING_PRICE_DELETED = 'SHIPPING_PRICE_DELETED', @@ -5118,9 +5294,13 @@ export enum WebhookSampleEventTypeEnum { TRANSACTION_ACTION_REQUEST = 'TRANSACTION_ACTION_REQUEST', TRANSLATION_CREATED = 'TRANSLATION_CREATED', TRANSLATION_UPDATED = 'TRANSLATION_UPDATED', + WAREHOUSE_CREATED = 'WAREHOUSE_CREATED', + WAREHOUSE_UPDATED = 'WAREHOUSE_UPDATED', + WAREHOUSE_DELETED = 'WAREHOUSE_DELETED', VOUCHER_CREATED = 'VOUCHER_CREATED', VOUCHER_UPDATED = 'VOUCHER_UPDATED', - VOUCHER_DELETED = 'VOUCHER_DELETED' + VOUCHER_DELETED = 'VOUCHER_DELETED', + OBSERVABILITY = 'OBSERVABILITY' } export type WebhookUpdateInput = {